Skip to content

Commit

Permalink
Move declare(ticks = 1) to top
Browse files Browse the repository at this point in the history
  • Loading branch information
ruudk committed Aug 3, 2016
1 parent 16f88a6 commit 91caca7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Resque/Worker.php
@@ -1,4 +1,6 @@
<?php
declare(ticks = 1);

/**
* Resque worker that handles checking queues for jobs, fetching them
* off the queues, running them and handling the result.
Expand Down Expand Up @@ -311,8 +313,6 @@ public function queues($fetch = true)
*/
private function startup()
{
declare(ticks = 1);

$this->registerSigHandlers();
$this->pruneDeadWorkers();
Resque_Event::trigger('beforeFirstFork', $this);
Expand Down

0 comments on commit 91caca7

Please sign in to comment.