mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
Don't tick on ttl cache
This commit is contained in:
@@ -5,7 +5,7 @@ from freqtrade.util import PeriodicCache
|
|||||||
|
|
||||||
def test_ttl_cache():
|
def test_ttl_cache():
|
||||||
|
|
||||||
with time_machine.travel("2021-09-01 05:00:00 +00:00") as t:
|
with time_machine.travel("2021-09-01 05:00:00 +00:00", tick=False) as t:
|
||||||
|
|
||||||
cache = PeriodicCache(5, ttl=60)
|
cache = PeriodicCache(5, ttl=60)
|
||||||
cache1h = PeriodicCache(5, ttl=3600)
|
cache1h = PeriodicCache(5, ttl=3600)
|
||||||
|
|||||||
Reference in New Issue
Block a user