mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-03-15 09:57:56 +00:00
fix: Remove hardcoded @assert_eventually
100 times retry (#4318)
This was a subtle and minor bug. Nice catch Borys!
This commit is contained in:
@ -706,7 +706,7 @@ async def is_saving(c_client: aioredis.Redis):
|
||||
|
||||
def assert_eventually(wrapped=None, *, times=100):
|
||||
if wrapped is None:
|
||||
return functools.partial(assert_eventually, times=100)
|
||||
return functools.partial(assert_eventually, times=times)
|
||||
|
||||
@wrapt.decorator
|
||||
async def wrapper(wrapped, instance, args, kwargs):
|
||||
|
Reference in New Issue
Block a user