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>2022-01-13 09:14:35 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-01-13 09:14:35 +0300
commit03d085654717ea2f4a884f9286d56cc9e6381f4e (patch)
tree1cc8f84cbbdfccb1e3582bba8914d560f1fbacd6 /lib/gitlab/redis
parent2de2cc683327f978aadcd1190c72d6c6af3034c3 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/redis')
-rw-r--r--lib/gitlab/redis/sessions_store_helper.rb27
1 files changed, 0 insertions, 27 deletions
diff --git a/lib/gitlab/redis/sessions_store_helper.rb b/lib/gitlab/redis/sessions_store_helper.rb
deleted file mode 100644
index c80442847f1..00000000000
--- a/lib/gitlab/redis/sessions_store_helper.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-# frozen_string_literal: true
-
-module Gitlab
- module Redis
- module SessionsStoreHelper
- extend ActiveSupport::Concern
-
- module StoreMethods
- def redis_store_class
- use_redis_session_store? ? Gitlab::Redis::Sessions : Gitlab::Redis::SharedState
- end
-
- private
-
- def use_redis_session_store?
- Gitlab::Utils.to_boolean(ENV['GITLAB_USE_REDIS_SESSIONS_STORE'], default: true)
- end
- end
-
- include StoreMethods
-
- included do
- extend StoreMethods
- end
- end
- end
-end