Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Reconnect option use with non 0 number database is messy #28
I sometimes use Redis.pm for multiple database with reconnect option like following:
my $redis = Redis->new( reconnect => 3, every => 200, ...); $redis->select($db_number); ### operation
But after once redis was restarted and Redis.pm do reconnection, the operation continues to database 0...
I suggest some solutions for this.
a) Accept dbnumber (or something similar) paramerter on constructor (same as :db param in redis.rb)
I hope either or something same feature ASAP!