Skip to content

Commit d04f398

Browse files
authored
libc-wasi: Fix spurious poll timeout (#1824)
This reverts the "Fix libc-wasi poll_oneoff hang issue" change. #1300
1 parent 14288f5 commit d04f398

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • core/iwasm/libraries/libc-wasi/sandboxed-system-primitives/src

core/iwasm/libraries/libc-wasi/sandboxed-system-primitives/src/posix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2696,7 +2696,7 @@ wasmtime_ssp_poll_oneoff(
26962696
timeout = ts > INT_MAX ? -1 : (int)ts;
26972697
}
26982698
else {
2699-
timeout = 1000;
2699+
timeout = -1;
27002700
}
27012701
int ret = poll(pfds, nsubscriptions, timeout);
27022702

0 commit comments

Comments
 (0)