Martineznovo has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/328294 )
Change subject: Turn $wgRunJobsAsync off by default
......................................................................
Turn $wgRunJobsAsync off by default
The current situation doesn't work in all installations and has being worse
since MediaWiki 1.27. Default settings should be safe in all installations,
and $wgRunJobsAsync wasn't one of them.
Conflicts:
RELEASE-NOTES-1.29
Bug: T142751
Change-Id: I8daa38534a0e925a75ba2fb47e3e299f1baee4b1
---
M RELEASE-NOTES-1.27
M includes/DefaultSettings.php
2 files changed, 3 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/94/328294/1
diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27
index d3215c9..770abc7 100644
--- a/RELEASE-NOTES-1.27
+++ b/RELEASE-NOTES-1.27
@@ -5,6 +5,8 @@
* (T68404) CSS3 attr() function with url type argument is no longer allowed
in inline styles.
+* $wgRunJobsAsync is now false by default (T142751). This change only affects
+ wikis with $wgJobRunRate > 0.
== MediaWiki 1.27.1 ==
diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php
index febf389..8c9a0f4 100644
--- a/includes/DefaultSettings.php
+++ b/includes/DefaultSettings.php
@@ -8029,10 +8029,7 @@
* execution finishes.
* @since 1.23
*/
-$wgRunJobsAsync = (
- !function_exists( 'register_postsend_function' ) &&
- !function_exists( 'fastcgi_finish_request' )
-);
+$wgRunJobsAsync = false;
/**
* Number of rows to update per job
--
To view, visit https://gerrit.wikimedia.org/r/328294
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8daa38534a0e925a75ba2fb47e3e299f1baee4b1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: REL1_27
Gerrit-Owner: Martineznovo <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits