Skip to content

Commit 6d31030

Browse files
PHP error
1 parent 2f8a087 commit 6d31030

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Crusse/JobServer/EventLoop.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ function run() {
155155
$writables = null;
156156
}
157157

158-
$changedSockets = socket_select( $readables, $writables, $except = null, $this->acceptTimeout );
158+
$except = null;
159+
$changedSockets = socket_select( $readables, $writables, $except, $this->acceptTimeout );
159160

160161
if ( $changedSockets === 0 ) {
161162
$this->log( 'Error: select() timed out' );

0 commit comments

Comments
 (0)