async-http 0.45.2 → 0.45.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/async/http/pool.rb +3 -1
- data/lib/async/http/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: 073c1c14dca42ab8bcba5767b43ca38b6a892dedc86f213686ca234ffe434d0b
|
4
|
+
data.tar.gz: 1514a0f44b080ff99a3ffe6e1dda5f7a469f2d279b6eda9bb736ec3a98a69e4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7ca4788c88980222895de4e2acc7051d9e52a30c20e55ee51f9211c0ab9d811d564688e28d056851705e25e231ef559930b8f606e8d6b33df95e3f80d6d2a2f
|
7
|
+
data.tar.gz: 5dff2d132ed8859102f50d646f5ab020c6d44f1522438822b87594a8ae3614b3373435c151818a1f2a177763f78c451e38e7d17550c72a03d40757b47affb8c1
|
data/lib/async/http/pool.rb
CHANGED
@@ -103,7 +103,9 @@ module Async
|
|
103
103
|
protected
|
104
104
|
|
105
105
|
def availability_string
|
106
|
-
@resources.collect
|
106
|
+
@resources.collect do |resource,usage|
|
107
|
+
"#{usage}/#{resource.multiplex}#{resource.connected? ? '' : '*'}/#{resource.count}"
|
108
|
+
end.join(";")
|
107
109
|
end
|
108
110
|
|
109
111
|
def reuse(resource)
|
data/lib/async/http/version.rb
CHANGED