Manual:$wgForceDeferredUpdatesPreSend

From mediawiki.org
Other languages:
Performance hacks and limits: $wgForceDeferredUpdatesPreSend
Force deferred updates to be run before sending a response to the client, instead of attempting to run them after sending the response.
Introduced in version:1.38.0 (Gerrit change 761320; git #0ebf7786)
Removed in version:still in use
Allowed values:(boolean)
Default value:false

Details[edit]

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.