mirror of
https://github.com/wassname/cachier.git
synced 2026-09-10 11:50:23 +08:00
Update test_mongo_core.py
This commit is contained in:
@@ -178,7 +178,7 @@ def test_mongo_wait_for_calc_timeout_ok():
|
||||
@cachier(mongetter=_test_mongetter, stale_after=MONGO_DELTA_LONG, next_time=False, wait_for_calc_timeout=2)
|
||||
def _wait_for_calc_timeout_mongo_slow(arg_1, arg_2):
|
||||
print("_wait_for_calc_timeout_mongo_slow")
|
||||
"""Some function."""
|
||||
"""Some slow function."""
|
||||
sleep(3)
|
||||
return random() + arg_1 + arg_2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user