mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02: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:
parent
53d6b64233
commit
af04b558db
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue