mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
add an enqueued timestamp to the job payload
This commit is contained in:
parent
f7e9e8b7b1
commit
006d7502d9
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue