Status: | obsolete |
Progress: | 100% |
Version: | 2.3.0 - 2.5.8 |
$smwgEnabledHttpDeferredJobRequest
Configuration parameter details: | |||||||
Name | $smwgEnabledHttpDeferredJobRequest | ||||||
Description | Sets whether selected jobs can be executed asynchronously to the initial transaction triggering the job | ||||||
Default setting | true | ||||||
(Other) available settings |
|
||||||
Software | Semantic MediaWiki | ||||||
Since version | |||||||
Until version | |||||||
Configuration | Installation | ||||||
Keyword | query · performance |
__NOBREADCRUMBLINKS__
$smwgEnabledHttpDeferredJobRequest
is a configuration parameter to control the behaviour of "DeferredRequestDispatchManager" to manage and execute selected jobs asynchronously, i.e. in a deferred processing mode to the initial transaction triggering the job. If enabled which is the default setting for this configuration parameter those jobs are send as request to a dispatcher in order for them to be decoupled from the initial transaction. The configuration parameter was introduced in Semantic MediaWiki 2.3.0Released on an unknown date unknown versions of MediaWiki1 and removed with Semantic MediaWiki 3.0.0Released on an unknown date unknown versions of MediaWiki to be replaced by an software internal approach.2
Semantic MediaWiki 2.5.0Released on an unknown date unknown versions of MediaWiki added the SMW_HTTP_DEFERRED_SYNC_JOB
option to this configuration parameter to control updates to be executed synchronously to a change propagation transaction.3 This option helps to mitigate a situation where for some reason the "DeferredRequestDispatchManager" is unable to complete the request and waiting on the job scheduler is not a choice.4
Semantic MediaWiki 2.5.1Released on an unknown date unknown versions of MediaWiki added the SMW_HTTP_DEFERRED_LAZY_JOB
option to this configuration parameter to buffer updates to be executed after MediaWiki has done all its transactions.5. This option helps to mitigate a situation where for some reason the "DeferredRequestDispatchManager" lets users seeing the enqueue latency in case several calls are mode on the same queue.
Default setting
$smwgEnabledHttpDeferredJobRequest = true;
Changing the default setting
To modify the setting to this configuration parameter, add one of the following lines to your "LocalSettings.php" file after the enableSemantics()
call:
- Change updates to be done synchronously with the update transaction (jobs are executed immediately)
$smwgEnabledHttpDeferredJobRequest = SMW_HTTP_DEFERRED_SYNC_JOB;
- Change updates to be done synchronously with the update transaction (jobs are batched and executed later on idle)
$smwgEnabledHttpDeferredJobRequest = SMW_HTTP_DEFERRED_LAZY_JOB;
- Change updates to be done with the initial transaction and parked as jobs, waiting on job scheduler to initiate the update
$smwgEnabledHttpDeferredJobRequest = false;