We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
limit:
1 parent 0809fcd commit 4285829Copy full SHA for 4285829
lib/benchmark/http/spider.rb
@@ -114,7 +114,7 @@ def extract_links(url, response)
114
urls.each do |url|
115
endpoint = Async::HTTP::Endpoint.parse(url, timeout: 10)
116
117
- Async::HTTP::Client.open(endpoint, protocol: endpoint.protocol, connection_limit: 4) do |client|
+ Async::HTTP::Client.open(endpoint, protocol: endpoint.protocol, limit: 4) do |client|
118
fetch(statistics, client, endpoint.url, &block).wait
119
end
120
0 commit comments