lib/redis_failover/util.rb in redis_failover-0.6.0 vs lib/redis_failover/util.rb in redis_failover-0.7.0

- old
+ new

@@ -12,12 +12,12 @@ REDIS_ERRORS = Errno.constants.map { |c| Errno.const_get(c) }.freeze # Full set of errors related to connectivity. CONNECTIVITY_ERRORS = [ RedisFailover::Error, - ZK::Exceptions::KeeperException, - ZookeeperExceptions::ZookeeperException, - REDIS_ERRORS].flatten.freeze + ZK::Exceptions::InterruptedSession, + REDIS_ERRORS + ].flatten.freeze def symbolize_keys(hash) Hash[hash.map { |k, v| [k.to_sym, v] }] end