Manual:$wgJobTypeConf
Jump to navigation
Jump to search
Jobs: $wgJobTypeConf | |
---|---|
Configuration for job storage. |
|
Introduced in version: | 1.21.0 |
Removed in version: | still in use |
Allowed values: | Unspecified |
Default value: | See below |
Other settings: Alphabetical | By function |
Details[edit]
Configuration for job storage.
Default[edit]
MediaWiki version: | ≥ 1.31 |
/**
* Map of job types to configuration arrays.
* This determines which queue class and storage system is used for each job type.
* Job types that do not have explicit configuration will use the 'default' config.
* These settings should be global to all wikis.
*/
$wgJobTypeConf = [
'default' => [ 'class' => JobQueueDB::class, 'order' => 'random', 'claimTTL' => 3600 ],
];
MediaWiki versions: | 1.26 – 1.30 |
$wgJobTypeConf = [
'default' => [ 'class' => 'JobQueueDB', 'order' => 'random', 'claimTTL' => 3600 ],
];
MediaWiki versions: | 1.21 – 1.25 |
$wgJobTypeConf = array(
'default' => array( 'class' => 'JobQueueDB', 'order' => 'random' ),
);