We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3770e73 commit 3b20065Copy full SHA for 3b20065
1 file changed
taskiq/task.py
@@ -98,9 +98,9 @@ async def wait_result(
98
"""
99
start_time = time()
100
while not await self.is_ready():
101
- await asyncio.sleep(check_interval)
102
if 0 < timeout < time() - start_time:
103
raise TaskiqResultTimeoutError(timeout=timeout)
+ await asyncio.sleep(check_interval)
104
return await self.get_result(with_logs=with_logs)
105
106
async def get_progress(self) -> "TaskProgress[Any] | None":
0 commit comments