2
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
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|