class Redis
def shutdown
def shutdown synchronize do |client| client.with_reconnect(false) do begin client.call [:shutdown] rescue ConnectionError # This means Redis has probably exited. nil end end end end
def shutdown synchronize do |client| client.with_reconnect(false) do begin client.call [:shutdown] rescue ConnectionError # This means Redis has probably exited. nil end end end end