Searched refs:expiration_secs (Results 1 – 2 of 2) sorted by relevance
51 def __init__(self, size, expiration_secs=DEFAULT_EXPIRATION_SECS): argument62 self.expiration_secs = expiration_secs87 if (self.expiration_secs is not None and89 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)