mirror of
https://github.com/idanoo/php-resque
synced 2025-06-30 21:22:20 +00:00
Move declare(ticks = 1) to top
This commit is contained in:
parent
16f88a6a38
commit
91caca7921
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
@ -311,8 +313,6 @@ class Resque_Worker
|
|||
*/
|
||||
private function startup()
|
||||
{
|
||||
declare(ticks = 1);
|
||||
|
||||
$this->registerSigHandlers();
|
||||
$this->pruneDeadWorkers();
|
||||
Resque_Event::trigger('beforeFirstFork', $this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue