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:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-09-10 18:11:12 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-09-10 18:11:12 +0300
commit6a6824a5ce46273248944d1859591d3a811aa18e (patch)
tree77cc4f04ff7d59fc518fba04e3a226dc0949ed37 /lib/gitlab/issuables_count_for_state.rb
parent8fd149139d3d64b102f51455180f03adbc80f469 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/issuables_count_for_state.rb')
-rw-r--r--lib/gitlab/issuables_count_for_state.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/issuables_count_for_state.rb b/lib/gitlab/issuables_count_for_state.rb
index 660877b964a..f11dd520d2d 100644
--- a/lib/gitlab/issuables_count_for_state.rb
+++ b/lib/gitlab/issuables_count_for_state.rb
@@ -6,7 +6,7 @@ module Gitlab
# The name of the Gitlab::SafeRequestStore cache key.
CACHE_KEY = :issuables_count_for_state
# The expiration time for the Rails cache.
- CACHE_EXPIRES_IN = 10.minutes
+ CACHE_EXPIRES_IN = 1.hour
THRESHOLD = 1000
# The state values that can be safely casted to a Symbol.