Manual:$wgJobBackoffThrottling

This page is a translated version of the page Manual:$wgJobBackoffThrottling and the translation is 46% complete.
拡張機能: $wgJobBackoffThrottling
Number of times work items of a job type can be run per second.
導入されたバージョン:1.23.0 (Gerrit change 103190; git #e8cb2073)
除去されたバージョン:使用中
許容される値:(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. However, this setting won't limit the number of pages updated in one job run (which is controlled by $wgUpdateRowsPerJob ). Instead, it will throttle new executions of that job type.

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.

これは maintenance/runJobs.php が開始したジョブのみに影響します (逆に $wgJobRunRate は Web リクエストで開始されたジョブのみに影響します)。

$wgJobBackoffThrottling['htmlCacheUpdate'] = 5;

関連項目