Manual:$wgJobTypeConf

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgJobTypeConf and the translation is 40% complete.
Other languages:
English • ‎français • ‎magyar • ‎polski • ‎日本語
ジョブ: $wgJobTypeConf
Configuration for job storage.
導入されたバージョン:1.21.0
除去されたバージョン:使用中
許容される値:未指定
既定値:下記参照

詳細

Configuration for job storage.

既定値

MediaWiki バージョン: 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 バージョン: 1.26 – 1.30
$wgJobTypeConf = [
	'default' => [ 'class' => 'JobQueueDB', 'order' => 'random', 'claimTTL' => 3600 ],
];
MediaWiki バージョン: 1.21 – 1.25
$wgJobTypeConf = array(
	'default' => array( 'class' => 'JobQueueDB', 'order' => 'random' ),
);