Skip to content
代码片段 群组 项目
未验证 提交 bf14a9bf 编辑于 作者: Heinrich Lee Yu's avatar Heinrich Lee Yu
浏览文件

Use full reference for RedisClusterValidator

Autoloading does not work properly when we don't use the full namespace
when we're inside a stale class that is cached in memory after code gets
unloaded by Rails.
上级 a24a69ac
No related branches found
No related tags found
无相关合并请求
...@@ -72,7 +72,7 @@ def query_time ...@@ -72,7 +72,7 @@ def query_time
end end
def redis_cluster_validate!(command) def redis_cluster_validate!(command)
RedisClusterValidator.validate!(command) if @redis_cluster_validation ::Gitlab::Instrumentation::RedisClusterValidator.validate!(command) if @redis_cluster_validation
end end
def enable_redis_cluster_validation def enable_redis_cluster_validation
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册