Skip to content

Commit cf9d95e

Browse files
committed
2 parents b6a91d5 + 92c92a8 commit cf9d95e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Crusse/JobServer/EventLoop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ private function getMessagesFromSocket( $socket ) {
285285
throw new \Exception( socket_strerror( socket_last_error() ) );
286286
}
287287

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
289289
// $this->stop() has been called, so this is unexpected.
290290
if ( $dataLen === 0 )
291291
throw new \Exception( 'Socket disconnected unexpectedly' );

src/Crusse/JobServer/Server.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ function getResults( $jobCallback ) {
9393
$loop->run();
9494
}
9595

96-
// FIXME: workerTimeout isn't working yet. A sleep()ing worker does _not_
97-
// cause a timeout. Check why.
9896
function setWorkerTimeout( $timeout ) {
9997
$this->workerTimeout = (int) $timeout;
10098
}

0 commit comments

Comments
 (0)