New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for DeferrableUpdate #1435

Merged
merged 1 commit into from Mar 5, 2016

Conversation

Projects
None yet
2 participants
@mwjames
Contributor

mwjames commented Mar 5, 2016

MW 1.26/1.27 started to operate most updates via DeferrableUpdate.

Use DeferredCallableUpdate to ensure that updates are queued and really executed after WikiPage::doEditUpdates.

$GLOBALS['smwgEnabledDeferredUpdate'] = false; the switch off and restore existing behaviour.

Support for DeferrableUpdate
MW 1.26/1.27 started to operate most updates via `DeferrableUpdate`.

Use `DeferredCallableUpdate` to ensure that updates are queued and
really executed after `WikiPage::doEditUpdates`.

`$GLOBALS['smwgEnabledDeferredUpdate'] = false;` the switch off and
restore existing behaviour.

@mwjames mwjames added the enhancement label Mar 5, 2016

@mwjames mwjames added this to the SMW 2.4 milestone Mar 5, 2016

@mwjames

This comment has been minimized.

Contributor

mwjames commented Mar 5, 2016

@kghbln $GLOBALS['smwgEnabledDeferredUpdate'] = true; is the default setting and it should not influence MW installations that are lower than MW 1.26 therefore the sandbox should be fine as well. In case some unexpected behaviour is being observed the setting should be reverted.

This should allow for a quicker front-end response when doing a page purge or when moving/redirecting pages.

mwjames added a commit that referenced this pull request Mar 5, 2016

@mwjames mwjames merged commit 802002b into master Mar 5, 2016

3 checks passed

Scrutinizer 14 new issues, 41 updated code elements
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@mwjames mwjames deleted the deferred branch Mar 5, 2016

@mwjames mwjames referenced this pull request Apr 7, 2016

Closed

2.4.0 release #1364

22 of 25 tasks complete
@mwjames

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment