Skip to content

Commit

Permalink
Update helpers.nim
Browse files Browse the repository at this point in the history
Reduce timeout
  • Loading branch information
AlejandroCabeza authored Jan 18, 2024
1 parent d18f0df commit 94fdf1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/helpers.nim
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ proc bridgedConnections*: (Connection, Connection) =
proc checkExpiringInternal(cond: proc(): bool {.raises: [], gcsafe.} ): Future[bool] {.async, gcsafe.} =
let start = Moment.now()
while true:
if Moment.now() > (start + chronos.seconds(20)):
if Moment.now() > (start + chronos.seconds(10)):
return false
elif cond():
return true
Expand Down

0 comments on commit 94fdf1a

Please sign in to comment.