Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

minor fix to reconnection code with major reliability effects

  • Loading branch information...
commit f223c018c4dd6ab32ebbdab464d3334dc432ab67 1 parent 745906d
@antirez antirez authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/redis.rb
View
2  lib/redis.rb
@@ -154,7 +154,7 @@ def call_command(argv)
connect_to_server if !@sock
begin
raw_call_command(argv.dup)
- rescue Errno::ECONNRESET
+ rescue Errno::ECONNRESET, Errno::EPIPE
@sock.close
connect_to_server
raw_call_command(argv.dup)
Please sign in to comment.
Something went wrong with that request. Please try again.