Skip to content

Commit 56a3fa8

Browse files
authored
Merge pull request #19 from Invizory/fix-read-timeout
Fix read_timeout setting
2 parents a2d1979 + c48f647 commit 56a3fa8

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)