Manual:$wgForceDeferredUpdatesPreSend

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<translate> Performance hacks and limits</translate>: $wgForceDeferredUpdatesPreSend
Force deferred updates to be run before sending a response to the client, instead of attempting to run them after sending the response.
<translate> Introduced in version:</translate>1.38.0 (Gerrit change 761320; git #0ebf7786)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(boolean)
<translate> Default value:</translate>false

Details

Force deferred updates to be run before sending a response to the client, instead of attempting to run them after sending the response. Setting this to true is useful for end-to-end testing, to ensure that the effects of a request are visible to any subsequent requests, even if they are made immediately after the first one. Note however that this does not ensure that database replication is complete, nor does it execute any jobs enqueued for later.

There should be no reason to set this in a normal production environment.