def shrink(self):
        if self.total_bytes <= self.available_bytes:
            return

        while self.total_bytes > self.available_bytes:
            self._shrink_one()
Retire keys from the cache until we're under bytes budget
dataset/ETHPy150Open blaze/cachey/cachey/cache.py/Cache.shrink