Skip to content

Commit

Permalink
Increase tick interval in wait_for_done
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkuzmik committed Nov 26, 2024
1 parent 32fe98c commit 66d8e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdks/python/src/opik/synchronization.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def wait_for_done(
# before sleep_time has elapsed:
end_sleep_time = time.time() + sleep_time
while check_function() is False and time.time() < end_sleep_time:
time.sleep(sleep_time / 20.0)
time.sleep(sleep_time)


def until(
Expand Down

0 comments on commit 66d8e4d

Please sign in to comment.