Skip to content

Commit c48f647

Browse files
committed
Fix read_timeout setting
1 parent a2d1979 commit c48f647

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resty/redis/connector.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ function _M.connect_to_host(self, host)
333333
if not ok then
334334
return nil, err
335335
else
336-
r:set_timeout(self, config.read_timeout)
336+
r:set_timeout(config.read_timeout)
337337

338338
local password = host.password
339339
if password and password ~= "" then

0 commit comments

Comments
 (0)