Fix job timeout by properly extending timeout on progress updates

parent 2f3c2f84
......@@ -132,7 +132,6 @@ def get_result(msg_id: str) -> dict:
has_progress = True
last_progress_time = time.time()
# Extend timeout when progress is active
if i >= max_iterations - 1:
max_iterations = min(max_iterations + 50, 500) # Add up to 5 more seconds per progress check
time.sleep(0.1) # Wait and try again
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment