Manual talk:$wgJobRunRate

From MediaWiki.org

Jump to: navigation, search

[edit] Job Queue Length

Just thought would put a note here for future reference, may be to be added to the main article?

Noticed that with out wiki the job queue counter got stuck at 1 and would not reduce to 0. There is a table in the database, called job or prefix_job that has a list of the jobs to be performed. Checked that and it was empty. User:Simetrical said the following about it in #mediawiki

the counter is deliberately inaccurate in recent versions. For speed, on large InnoDB tables. 
SELECT COUNT(*) FROM table; is slow on InnoDB, so it switched to a heuristic that's usually wrong.

--Dr DBW 24 October 2007