From e946bbe1ebb8cea06352fc7d301111d4eb436227 Mon Sep 17 00:00:00 2001 From: Adam Niedzielski Date: Thu, 23 Mar 2017 12:23:13 +0100 Subject: [PATCH] Increase ETag cache expiry time As discussed in #29777. --- lib/gitlab/etag_caching/store.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gitlab/etag_caching/store.rb b/lib/gitlab/etag_caching/store.rb index 9532e432f78..0039fc01c8f 100644 --- a/lib/gitlab/etag_caching/store.rb +++ b/lib/gitlab/etag_caching/store.rb @@ -1,7 +1,7 @@ module Gitlab module EtagCaching class Store - EXPIRY_TIME = 10.minutes + EXPIRY_TIME = 20.minutes REDIS_NAMESPACE = 'etag:'.freeze def get(key)