From 9e4652d3b5ec23fc9632fc386cecd5c7c87bf8cd Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 9 Jul 2015 09:07:52 -0700 Subject: [PATCH] jobqueue: Enable job retries by default in $wgJobTypeConf * This setting works fine for WMF, including various extensions. It seems a better default than just pruning out failed jobs. Change-Id: I635880a49f50544433559ef2cbfb218783b32534 --- includes/DefaultSettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 813d11df10..4170c99a56 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -6736,7 +6736,7 @@ $wgJobSerialCommitThreshold = false; * These settings should be global to all wikis. */ $wgJobTypeConf = array( - 'default' => array( 'class' => 'JobQueueDB', 'order' => 'random' ), + 'default' => array( 'class' => 'JobQueueDB', 'order' => 'random', 'claimTTL' => 3600 ), ); /** -- 2.20.1