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 e830162 commit 9c801ffCopy full SHA for 9c801ff
lib/resty/redis/connector.lua
@@ -381,7 +381,7 @@ function _M.connect_to_host(self, host)
381
end
382
383
384
-local function set_keepalive(self, redis)
+function _M.set_keepalive(self, redis)
385
-- Restore connection to "NORMAL" before putting into keepalive pool,
386
-- ignoring any errors.
387
-- Proxied Redis does not support transactions.
@@ -394,8 +394,6 @@ local function set_keepalive(self, redis)
394
config.keepalive_timeout, config.keepalive_poolsize
395
)
396
397
-_M.set_keepalive = set_keepalive
398
-
399
400
401
-- Deprecated: use config table in new() or connect() instead.
0 commit comments