mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-22 00:11:53 +00:00
Merge branch 'master' of http://github.com/jmathai/php-resque
This commit is contained in:
commit
5ff6d8b871
@ -171,7 +171,7 @@ checked in.
|
|||||||
|
|
||||||
As per the original example:
|
As per the original example:
|
||||||
|
|
||||||
$ QUEUES=file_serve,warm_cache php resque.php
|
$ QUEUE=file_serve,warm_cache php resque.php
|
||||||
|
|
||||||
The `file_serve` queue will always be checked for new jobs on each
|
The `file_serve` queue will always be checked for new jobs on each
|
||||||
iteration before the `warm_cache` queue is checked.
|
iteration before the `warm_cache` queue is checked.
|
||||||
@ -181,7 +181,7 @@ iteration before the `warm_cache` queue is checked.
|
|||||||
All queues are supported in the same manner and processed in alphabetical
|
All queues are supported in the same manner and processed in alphabetical
|
||||||
order:
|
order:
|
||||||
|
|
||||||
$ QUEUES=* php resque.php
|
$ QUEUE=* php resque.php
|
||||||
|
|
||||||
### Running Multiple Workers ###
|
### Running Multiple Workers ###
|
||||||
|
|
||||||
@ -223,4 +223,15 @@ their resque status.
|
|||||||
|
|
||||||
A PECL module (<http://pecl.php.net/package/proctitle>) exists that
|
A PECL module (<http://pecl.php.net/package/proctitle>) exists that
|
||||||
adds this funcitonality to PHP, so if you'd like process titles updated,
|
adds this funcitonality to PHP, so if you'd like process titles updated,
|
||||||
install the PECL module as well. php-resque will detect and use it.
|
install the PECL module as well. php-resque will detect and use it.
|
||||||
|
|
||||||
|
### Errors and troubleshooting ###
|
||||||
|
|
||||||
|
**php.ini settings**
|
||||||
|
|
||||||
|
If you don't have E in variables_order you can specify @-c ./@ as an
|
||||||
|
option to the PHP cli program. This reverts values to the defaults which
|
||||||
|
include E.
|
||||||
|
|
||||||
|
$ QUEUE=file_serve php -c ./ resque.php
|
||||||
|
|
||||||
|
@ -131,7 +131,7 @@ class Resque_Job
|
|||||||
}
|
}
|
||||||
|
|
||||||
$instance = new $this->payload['class'];
|
$instance = new $this->payload['class'];
|
||||||
$isntance->args = $this->payload['args'];
|
$instance->args = $this->payload['args'];
|
||||||
|
|
||||||
if(method_exists($instance, 'setUp')) {
|
if(method_exists($instance, 'setUp')) {
|
||||||
$instance->setUp();
|
$instance->setUp();
|
||||||
|
Loading…
Reference in New Issue
Block a user