Fix rubocop warning (#14288)
* Fix rubocop warning * use limit variable * use ContextCreatingMethods option
This commit is contained in:
@ -231,6 +231,7 @@ class Request
|
||||
begin
|
||||
sock.connect_nonblock(addr_by_socket[sock])
|
||||
rescue Errno::EISCONN
|
||||
# Do nothing
|
||||
rescue => e
|
||||
sock.close
|
||||
outer_e = e
|
||||
|
Reference in New Issue
Block a user