daurnimator / lredis

A redis client for lua
MIT License
43 stars 7 forks source link

Auto-reconnect #5

Open berstend opened 7 years ago

berstend commented 7 years ago

Hi there, thanks for lredis!

Is there currently any preferred pattern to add auto-reconnect capabilities to lredis?

This is a feature which all redis lua libraries seem to be lacking, unfortunately: https://github.com/nrk/redis-lua/issues/9

Thanks!

daurnimator commented 7 years ago

How do other (non lua) redis client libraries handle it? Particularly if you are subscribed to events; or blocked waiting on BLPOP? Also other connection-stateful actions like SELECT

What behaviour do you want to happen?