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
@ -53,6 +53,11 @@ class Resque_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