Skip to content

Commit 90db5d5

Browse files
committed
Merge pull request #37 from greevex/greevex-issue-36
Fixes issue #36
2 parents ddfadd9 + ed510ec commit 90db5d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/StreamSelectLoop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ protected function streamSelect(array &$read, array &$write, $timeout)
255255
return stream_select($read, $write, $except, $timeout === null ? null : 0, $timeout);
256256
}
257257

258-
usleep($timeout);
258+
$timeout && usleep($timeout);
259259

260260
return 0;
261261
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy