lib/dalli/protocol/base.rb in dalli-3.2.5 vs lib/dalli/protocol/base.rb in dalli-3.2.6
- old
+ new
@@ -104,10 +104,10 @@
# Get the next response from the buffer
status, cas, key, value = response_buffer.process_single_getk_response
end
values
- rescue SystemCallError, Timeout::Error, EOFError => e
+ rescue SystemCallError, *TIMEOUT_ERRORS, EOFError => e
@connection_manager.error_on_request!(e)
end
# Abort current pipelined get. Generally used to signal an external
# timeout during pipelined get. The underlying socket is