fix: Remove hardcoded @assert_eventually 100 times retry (#4318)

This was a subtle and minor bug. Nice catch Borys!
This commit is contained in:
Shahar Mike
2024-12-16 12:40:45 +02:00
committed by GitHub
parent 53d6b64233
commit af04b558db

View File

@ -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):