jobqueue: track real job inserts as 'inserts_actual'
[lhc/web/wiklou.git] / includes / jobqueue / JobQueueRedis.php
index 002fe0d..419ed0e 100644 (file)
@@ -224,6 +224,7 @@ class JobQueueRedis extends JobQueue {
                                throw new RedisException( "Could not insert {$failed} {$this->type} job(s)." );
                        }
                        JobQueue::incrStats( 'inserts', $this->type, count( $items ) );
+                       JobQueue::incrStats( 'inserts_actual', $pushed );
                        JobQueue::incrStats( 'dupe_inserts', $this->type,
                                count( $items ) - $failed - $pushed );
                } catch ( RedisException $e ) {