Project

General

Profile

Actions

Task #4735

closed

MemoryContentCache PendingInterest should use a default InterestLifetime and not support infinite lifetime.

Added by Anonymous about 6 years ago. Updated about 6 years ago.

Status:
Abandoned
Priority:
Normal
Assignee:
-
Start date:
09/17/2018
Due date:
% Done:

0%

Estimated time:

Description

Issue #4729 corrects the MemoryContentCache PendingInterest constructor to use a default of 4000 milliseconds if the InterestLifetime is omitted. This means that the support for infinite lifetime interests in isTimedOut can be removed:

    def isTimedOut(self, nowMilliseconds):
        return (self._timeoutTimeMilliseconds >= 0.0 and
                nowMilliseconds >= self._timeoutTimeMilliseconds)
Actions

Also available in: Atom PDF