0
0
Fork 0

Fix Performance/TimesMap cop (#24789)

This commit is contained in:
Matt Jankowski 2023-05-02 12:07:16 -04:00 committed by GitHub
parent bae694108a
commit 570079f8ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 15 additions and 24 deletions

View file

@ -33,7 +33,7 @@ describe RequestPool do
subject
threads = 20.times.map do |_i|
threads = Array.new(20) do |_i|
Thread.new do
20.times do
subject.with('http://example.com') do |http_client|