mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-22 00:11:53 +00:00
Merge pull request #206 from bc-vincent-zhao/add-enqueque-time
add an enqueued timestamp to the job payload
This commit is contained in:
commit
e1e40494a0
@ -62,6 +62,7 @@ class Resque_Job
|
|||||||
'class' => $class,
|
'class' => $class,
|
||||||
'args' => array($args),
|
'args' => array($args),
|
||||||
'id' => $id,
|
'id' => $id,
|
||||||
|
'queue_time' => microtime(true),
|
||||||
));
|
));
|
||||||
|
|
||||||
if($monitor) {
|
if($monitor) {
|
||||||
|
Loading…
Reference in New Issue
Block a user