ledgetech / lua-resty-redis-connector

Connection utilities for lua-resty-redis
234 stars 71 forks source link

read_timeout cannot be set #18

Closed piotrp closed 6 years ago

piotrp commented 6 years ago

In connector.lua you have:

r:set_timeout(self, config.read_timeout)

which passes connector object instance as timeout. It should be changed to:

r:set_timeout(config.read_timeout)
piotrp commented 6 years ago

Hello,

Any chance of getting bugfix merged and released to OPM? This bug breaks usage with LuaSocket.

hamishforbes commented 6 years ago

Unfortunately I can't push out releases to opm (see https://github.com/openresty/opm/issues/61) @pintsized will have to do that

pintsized commented 6 years ago

Uploaded v0.07 to opm and luarocks