X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fjobqueue%2FJobQueueRedis.php;h=29c8068a63128ee0c7e835ab2985c4b1c9211534;hb=84dd3d27ec31db871b0a57e786c776fdc9a4ac52;hp=1b1a193531e7c6795c0cbe0b0e3f298709f83697;hpb=f6b7ffab94a873f324e8d65cee909221d1651325;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/jobqueue/JobQueueRedis.php b/includes/jobqueue/JobQueueRedis.php index 1b1a193531..29c8068a63 100644 --- a/includes/jobqueue/JobQueueRedis.php +++ b/includes/jobqueue/JobQueueRedis.php @@ -613,6 +613,8 @@ LUA; $job = Job::factory( $item['type'], $title, $item['params'] ); $job->metadata['uuid'] = $item['uuid']; $job->metadata['timestamp'] = $item['timestamp']; + // Add in attempt count for debugging at showJobs.php + $job->metadata['attempts'] = $conn->hGet( $this->getQueueKey( 'h-attempts' ), $uid ); return $job; } catch ( RedisException $e ) {