mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
Fix undefined variable $child on non-forking operating systems
This commit is contained in:
parent
34de8e4307
commit
25fac9a16a
1 changed files with 5 additions and 0 deletions
|
@ -52,6 +52,11 @@ class Resque_Worker
|
||||||
* @var Resque_Job Current job, if any, being processed by this worker.
|
* @var Resque_Job Current job, if any, being processed by this worker.
|
||||||
*/
|
*/
|
||||||
private $currentJob = null;
|
private $currentJob = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var int Process ID of child worker processes.
|
||||||
|
*/
|
||||||
|
private $child = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return all workers known to Resque as instantiated instances.
|
* Return all workers known to Resque as instantiated instances.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue