Jump to content

Manual:$wgJobTypesExcludedFromDefaultQueue

From mediawiki.org
Extensions: $wgJobTypesExcludedFromDefaultQueue
Jobs that must be explicitly requested, i.e. aren't run by job runners unless special flags are set.
Introduced in version:1.18.0 (r84397)
Removed in version:Still in use
Allowed values:(array)
Default value:See below

Details

Jobs that must be explicitly requested, i.e. aren't run by job runners unless special flags are set.

These can be:

  • Very long-running jobs.
  • Jobs that you would never want to run as part of a page rendering request.
  • Jobs that you want to run on specialized machines (like transcoding, or a particular machine on your cluster has 'outside' web access you could restrict uploadFromUrl)

Default value

MediaWiki version:
1.42
$wgJobTypesExcludedFromDefaultQueue = [
	'AssembleUploadChunks',
	'PublishStashedFile',
	'UploadFromUrl',
]
MediaWiki versions:
1.21 – 1.41
$wgJobTypesExcludedFromDefaultQueue = [
	'AssembleUploadChunks',
	'PublishStashedFile',
]
MediaWiki versions:
1.18 – 1.20
$wgJobTypesExcludedFromDefaultQueue = array();