def evict_expired(self):
        cutoff = self.clock() - self.max_age
        while len(self.queue) > 0:
            ts, key = self.queue.popleft()
            if ts > cutoff:
                self.queue.appendleft((ts, key))
                break
            self.attempt_eviction(key)
Evict any items older than the maximum age from the cache.
dataset/ETHPy150Open kgaughan/uwhoisd/uwhoisd/utils.py/Cache.evict_expired