Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Niedzielski <adamsunday@gmail.com>2017-03-23 14:23:13 +0300
committerAdam Niedzielski <adamsunday@gmail.com>2017-03-23 14:23:13 +0300
commite946bbe1ebb8cea06352fc7d301111d4eb436227 (patch)
treece0e69565d2a28198cdf91add6bef1bb3ca504e5 /lib/gitlab/etag_caching
parent22682f6e158fb4e034e0fa3486771e119e43661e (diff)
Increase ETag cache expiry time
As discussed in #29777.
Diffstat (limited to 'lib/gitlab/etag_caching')
-rw-r--r--lib/gitlab/etag_caching/store.rb2
1 files changed, 1 insertions, 1 deletions
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)