Skip to content

Commit

Permalink
Worker resets its waiting time after successful job to be more respon…
Browse files Browse the repository at this point in the history
…sive
  • Loading branch information
Giorgio Sironi committed Mar 9, 2016
1 parent 05049a2 commit be13df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/worker
Expand Up @@ -42,7 +42,7 @@ while (!askedToStop()) {
);
}
($doneSomeWork) ?
$waitStrategy->goForward() :
$waitStrategy->reset() :
$waitStrategy->wait()->backOff();
}
$worker->retire();
Expand Down

0 comments on commit be13df0

Please sign in to comment.