Permalink
Browse files

Make Pipeline's reconnect status stick to false if used

  • Loading branch information...
1 parent 413e18a commit 0fab8afb33d8181ee92462e3aa6928b05f0e17c3 @evanphx committed May 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/redis/pipeline.rb
@@ -46,7 +46,7 @@ def commands
end
def with_reconnect(val=true)
- @with_reconnect = val
+ @with_reconnect = false unless val
yield
end

0 comments on commit 0fab8af

Please sign in to comment.