Skip to content

Commit

Permalink
Revert the loop back to what is was as discussed
Browse files Browse the repository at this point in the history
See PR #15 for the discussion.
  • Loading branch information
mac-cain13 committed Nov 26, 2015
1 parent 52d5bfd commit 31e59f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Wrep/Daemonizable/Command/EndlessCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ protected function runloop(InputInterface $input, OutputInterface $output)
{
$this->starting($input, $output);

while (!$this->shutdownRequested)
do
{
// Start iteration
$this->startIteration($input, $output);
Expand Down Expand Up @@ -138,6 +138,7 @@ protected function runloop(InputInterface $input, OutputInterface $output)
usleep($this->timeout);
}
}
while (!$this->shutdownRequested);
}
catch (ShutdownEndlessCommandException $ignore)
{}
Expand Down

0 comments on commit 31e59f0

Please sign in to comment.