手册:$wgJobBackoffThrottling

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgJobBackoffThrottling and the translation is 40% complete.

Other languages:
Deutsch • ‎English • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎中文 • ‎日本語
作业: $wgJobBackoffThrottling
Number of times work items of a job type can be run per second.
引进版本:1.23.0
移除版本:仍在使用
允许的值:(数字>= 0)
默认值:[]
其他设置: 按首字母排序 | 按功能排序

详情

Number of work items of a given job type 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.php (as opposed to $wgJobRunRate which only affects job started by web requests).

参见