Martineznovo has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/328296 )

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.28
M includes/DefaultSettings.php
2 files changed, 9 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/96/328296/1

diff --git a/RELEASE-NOTES-1.28 b/RELEASE-NOTES-1.28
index 205be10..a3beb61 100644
--- a/RELEASE-NOTES-1.28
+++ b/RELEASE-NOTES-1.28
@@ -1,3 +1,11 @@
+== MediaWiki 1.28.1 ==
+This is not a release yet!
+
+=== Changes since 1.28.0 ===
+
+* $wgRunJobsAsync is now false by default (T142751). This change only affects
+  wikis with $wgJobRunRate > 0.
+
 == MediaWiki 1.28 ==
 
 === Changes since 1.28.0-rc1 ===
diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php
index 7196a75..846ed36 100644
--- a/includes/DefaultSettings.php
+++ b/includes/DefaultSettings.php
@@ -8102,10 +8102,7 @@
  *
  * @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/328296
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_28
Gerrit-Owner: Martineznovo <martinezn...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to