Searched refs:expiration_secs (Results 1 – 3 of 3) sorted by relevance
78 def __init__(self, size, expiration_secs=DEFAULT_EXPIRATION_SECS): argument89 self.expiration_secs = expiration_secs114 if (self.expiration_secs is not None and116 time.time() - self.timestamps[key] > self.expiration_secs):
89 cache = utils.LRUCache(2, expiration_secs=None)115 cache = utils.LRUCache(1, expiration_secs=10)138 cache = utils.LRUCache(1, expiration_secs=10)
374 expiration_secs=self.timeout_mins * 60,