Manual:$wgJobQueueIncludeInMaxLagFactor

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎polski • ‎日本語
Jobs: $wgJobQueueIncludeInMaxLagFactor
Whether to include the number of jobs that are queued for the API's maxlag parameter.
Introduced in version:1.29.0
Removed in version:still in use
Allowed values:(boolean)
Default value:false

Whether to include the number of jobs that are queued for the API's maxlag parameter.

Details[edit]

The total number of jobs will be divided by this to get an estimated second of maxlag. Typically bots backoff at maxlag=5, so setting this to the max number of jobs that should be in your queue divided by 5 should have the effect of stopping bots once that limit is hit.