ledgetech / lua-resty-redis-connector

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

try_hosts's connect_to_host(host) no need select(db). #11

Closed tangwz closed 7 years ago

tangwz commented 7 years ago

That's not what I mean at all. I think we want to do select db on a redis master(slave) but not on redis sentinel try_hosts. And both the function try_hosts and connect_via_sentinel called funciton connect_to_host, but only connect_via_sentinel need to select, try_hosts no need to select db.This I mean.

pintsized commented 7 years ago

Ah sorry, yes I see