jenkins-bot has submitted this change and it was merged.

Change subject: Disable ChronologyProtector for rpc/RunJobs.php
......................................................................


Disable ChronologyProtector for rpc/RunJobs.php

Change-Id: I5e15ec9fb9152609e52c0f80d8dffe6010a2d0dd
---
M rpc/RunJobs.php
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  Tim Starling: Looks good to me, but someone else must approve
  Ori.livneh: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/rpc/RunJobs.php b/rpc/RunJobs.php
index c984c2d..36a3494 100755
--- a/rpc/RunJobs.php
+++ b/rpc/RunJobs.php
@@ -32,6 +32,11 @@
 ini_set( 'display_errors', 1 );
 $wgShowExceptionDetails = true;
 
+if ( method_exists( 'LBFactory', 'disableChronologyProtection' ) ) {
+       // This is not helpful here and will slow things down in some cases
+       wfGetLBFactory()->disableChronologyProtection();
+}
+
 try {
        $mediawiki = new MediaWiki();
        $runner = new JobRunner();

-- 
To view, visit https://gerrit.wikimedia.org/r/252878
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5e15ec9fb9152609e52c0f80d8dffe6010a2d0dd
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: Tim Starling <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to