Buckets:
AnonymousSpottedToad/human_verified_bucket / codebase /python /freqtrade_freqtrade /freqtrade /util /ft_ttlcache.py
| import time | |
| from cachetools import TTLCache | |
| class FtTTLCache(TTLCache): | |
| """ | |
| A TTLCache with a different default timer to allow for easier mocking in tests. | |
| """ | |
| def __init__(self, maxsize, ttl, timer=time.time, getsizeof=None): | |
| super().__init__(maxsize=maxsize, ttl=ttl, timer=timer, getsizeof=getsizeof) | |
Xet Storage Details
- Size:
- 332 Bytes
- Xet hash:
- 787cc1aab64f03fdb6d40684daafc71d5e6e1975889138ed20af0466359f43d5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.