Closed Kojoley closed 5 years ago
Instead of sleeping the whole timeout duration, sleep for 500ms in a loop and check every iteration if the job was already done.
I was not aware this code could be something that could delay the execution. Thanks for the PR
Instead of sleeping the whole timeout duration, sleep for 500ms in a loop and check every iteration if the job was already done.