Skip to content

Commit

Permalink
Merge pull request #206 from bc-vincent-zhao/add-enqueque-time
Browse files Browse the repository at this point in the history
add an enqueued timestamp to the job payload
  • Loading branch information
chrisboulton committed Aug 8, 2014
2 parents f7e9e8b + 006d750 commit e1e4049
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Resque/Job.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public static function create($queue, $class, $args = null, $monitor = false)
'class' => $class,
'args' => array($args),
'id' => $id,
'queue_time' => microtime(true),
));

if($monitor) {
Expand Down

0 comments on commit e1e4049

Please sign in to comment.