io_request 2.5.0 → 2.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/io_request/client.rb +1 -1
- data/lib/io_request/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 351ec9fd506f974e564ef51c452e47c6bb4a113022b0ec04e708245cd70fe12c
|
4
|
+
data.tar.gz: 7244b2989c36d827d86ef16aa84920e8f91bae6bf9009f4d503f2aaf6f58f164
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 549415e26de1d5919b1f97a8cfa289e07b5510ae8d54640079a213d4fa93e395e55a804d019c8342d8a6c97c1ee1d033beea534fb9d33814431a35eb21d72501
|
7
|
+
data.tar.gz: e1f0d467271a09288471cc1c3251fc6719b7d54e2cbe1f50a044cf118616a05bf2c989bc6b6ad5c70d82d71cdb74e8cac452c01be107e9181c3021d06831a2f4
|
data/lib/io_request/client.rb
CHANGED
@@ -220,7 +220,7 @@ module IORequest
|
|
220
220
|
# NOTE: Only accessing responses hash if thread owns access mutex
|
221
221
|
response = @responses.delete(request.id.to_s)
|
222
222
|
end
|
223
|
-
raise RequestTimeoutError if timeout && (Time.now - waiting_start_time
|
223
|
+
raise RequestTimeoutError if timeout && (Time.now - waiting_start_time >= timeout)
|
224
224
|
end
|
225
225
|
IORequest.logger.debug(prog_name) { "Found response: #{response}" }
|
226
226
|
response
|
data/lib/io_request/version.rb
CHANGED