-
-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
Hello,
I have an auth/select of connection reuse issue.
This my env:
redis-server: 127.0.0.1:6379
auth: 123456
when I connect to redis-server. every connection method all to auth, but the connection may be a pool connection, and it needn't to auth.
I can create a single redis-connector for my code, however, the openresty not allowed to do that, please see:
openresty/lua-resty-redis#44
BTW, Could we do something on get_reused_times() of lua-resty-redis. If the return times > 0, then the connection is reused, so we ignore auth and select?
Please tell me how to working it. Thanks!
Metadata
Metadata
Assignees
Labels
No labels