Skip to content

Commit

Permalink
fixes nightlies regression (#24519)
Browse files Browse the repository at this point in the history
follows up #24507
  • Loading branch information
ringabout authored Dec 7, 2024
1 parent 801733f commit d408b94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pure/asyncdispatch.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1700,7 +1700,7 @@ proc drain*(timeout = 500) =
let start = getMonoTime()
while hasPendingOperations():
discard runOnce(timeout - elapsed)
elapsed = (getMonoTime() - start).inMilliseconds
elapsed = int (getMonoTime() - start).inMilliseconds
if elapsed >= timeout:
break

Expand Down

0 comments on commit d408b94

Please sign in to comment.