File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ private function getMessagesFromSocket( $socket ) {
285
285
throw new \Exception ( socket_strerror ( socket_last_error () ) );
286
286
}
287
287
288
- // Connection was dropped by peer. We expects peers to be dropped only after
288
+ // Connection was dropped by peer. We expect peers to be dropped only after
289
289
// $this->stop() has been called, so this is unexpected.
290
290
if ( $ dataLen === 0 )
291
291
throw new \Exception ( 'Socket disconnected unexpectedly ' );
Original file line number Diff line number Diff line change @@ -93,8 +93,6 @@ function getResults( $jobCallback ) {
93
93
$ loop ->run ();
94
94
}
95
95
96
- // FIXME: workerTimeout isn't working yet. A sleep()ing worker does _not_
97
- // cause a timeout. Check why.
98
96
function setWorkerTimeout ( $ timeout ) {
99
97
$ this ->workerTimeout = (int ) $ timeout ;
100
98
}
You can’t perform that action at this time.
0 commit comments