summaryrefslogtreecommitdiff
path: root/lib/gitlab/redis/cluster_rate_limiting.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/redis/cluster_rate_limiting.rb')
-rw-r--r--lib/gitlab/redis/cluster_rate_limiting.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/gitlab/redis/cluster_rate_limiting.rb b/lib/gitlab/redis/cluster_rate_limiting.rb
new file mode 100644
index 00000000000..e9d1e4f0c3f
--- /dev/null
+++ b/lib/gitlab/redis/cluster_rate_limiting.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+module Gitlab
+ module Redis
+ class ClusterRateLimiting < ::Gitlab::Redis::Wrapper
+ def self.config_fallback
+ Cache
+ end
+ end
+ end
+end