mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-22 00:11:53 +00:00
Fix undefined variable $child on non-forking operating systems
This commit is contained in:
parent
34de8e4307
commit
25fac9a16a
@ -52,6 +52,11 @@ class Resque_Worker
|
||||
* @var Resque_Job Current job, if any, being processed by this worker.
|
||||
*/
|
||||
private $currentJob = null;
|
||||
|
||||
/**
|
||||
* @var int Process ID of child worker processes.
|
||||
*/
|
||||
private $child = null;
|
||||
|
||||
/**
|
||||
* Return all workers known to Resque as instantiated instances.
|
||||
|
Loading…
Reference in New Issue
Block a user