Aaron Schulz has uploaded a new change for review.
https://gerrit.wikimedia.org/r/252878
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(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/78/252878/1
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: newchange
Gerrit-Change-Id: I5e15ec9fb9152609e52c0f80d8dffe6010a2d0dd
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits