Manual:$wgJobBackoffThrottling/ko
Appearance
| Extensions: $wgJobBackoffThrottling | |
|---|---|
| Number of times work items of a job type can be run per second. |
|
| 이 변수가 소개된 버전: | 1.23.0 (Gerrit change 103190; git #e8cb2073) |
| 이 변수가 사라진 버전: | 계속해서 쓰이고 있음 |
| 허용값: | (number >= 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.
This only affects jobs started by maintenance/runJobs.php (as opposed to $wgJobRunRate which only affects job started by web requests).
Example
$wgJobBackoffThrottling['htmlCacheUpdate'] = 5;