We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc7c1c4 commit 526eba2Copy full SHA for 526eba2
lib/resty/redis/connector.lua
@@ -136,10 +136,12 @@ function _M.new(config)
136
return nil, config -- err
137
else
138
-- In proxied Redis mode disable default commands
139
- if config.connection_is_proxied == true
140
- and not next(config.disabled_commands) then
+ if config.connection_is_proxied == true and
+ not next(config.disabled_commands) then
141
+
142
config.disabled_commands = default_disabled_commands
143
end
144
145
return setmetatable({
146
config = setmetatable(config, fixed_field_metatable)
147
}, mt)
0 commit comments