fixes a serious poll() regression that caused poll() to ignore the timeout parameter
This commit is contained in:
parent
e695f9d94e
commit
0a3cd6d9ba
1 changed files with 1 additions and 1 deletions
|
|
@ -1493,7 +1493,7 @@ proc poll*(timeout = 500) =
|
|||
## Waits for completion events and processes them. Raises ``ValueError``
|
||||
## if there are no pending operations. This runs the underlying OS
|
||||
## `epoll`:idx: or `kqueue`:idx: primitive only once.
|
||||
discard runOnce()
|
||||
discard runOnce(timeout)
|
||||
|
||||
# Common procedures between current and upcoming asyncdispatch
|
||||
include includes.asynccommon
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue