Manual:$wgJobBackoffThrottling

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil • ‎中文
Jobs: $wgJobBackoffThrottling
Number of times work items of a job type can be run per second.
Introduced in version: 1.23.0
Removed in version: still in use
Allowed values: number >= 0
Default value: array()
Other settings: Alphabetical | By function

Details[edit]

Number of work items of a given job time to perform per second. What exactly a "work item" means is up to the job; it just has to return the number of them in Job::workItemCount(). For example, it could mean the number of pages updated for a job which does batch updates.

Whenever a job of the given type gets executed, no jobs of the same type will be started in the next ( work item count / backoff throttling) seconds.

This only affects jobs started by maintenance/runJobs.phpManual:runJobs.php (as opposed to $wgJobRunRate which only affects job started by web requests).

See also[edit]