From 6c3780e1a1641788b7660b6ac90b19b4500880c4 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 6 May 2016 05:33:54 -0700 Subject: [PATCH] Bump PRESUME_FRESH_TTL_SEC to improve hit rate and avoid link queries Task: T134620 Change-Id: I3f76d81ee0ff42bbab6a1b000907e80f4533519c --- includes/api/ApiStashEdit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiStashEdit.php b/includes/api/ApiStashEdit.php index f5d57c19c1..577d5f84fe 100644 --- a/includes/api/ApiStashEdit.php +++ b/includes/api/ApiStashEdit.php @@ -40,7 +40,7 @@ class ApiStashEdit extends ApiBase { const ERROR_CACHE = 'error_cache'; const ERROR_UNCACHEABLE = 'uncacheable'; - const PRESUME_FRESH_TTL_SEC = 5; + const PRESUME_FRESH_TTL_SEC = 30; public function execute() { $user = $this->getUser(); -- 2.20.1