lib/memcache.rb in memcache-client-1.7.3 vs lib/memcache.rb in memcache-client-1.7.4
- old
+ new
@@ -13,11 +13,11 @@
class MemCache
##
# The version of MemCache you are using.
- VERSION = '1.7.3'
+ VERSION = '1.7.4'
##
# Default options for the cache object.
DEFAULT_OPTIONS = {
@@ -1048,10 +1048,10 @@
rescue Errno::EWOULDBLOCK
retry unless @read_timeout
if IO.select([@io], nil, nil, @read_timeout)
retry
else
- raise Timeout::Error
+ raise Timeout::Error, 'IO timeout'
end
end
end
def setsockopt *args