⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (231 Bytes)
Bug #11481
» test.rb
Script which demonstrates the bug -
t-8ch (Thomas Weißschuh)
, 08/24/2015 12:49 PM
require
'open-uri'
require
'timeout'
threads
=
[]
(
1
..
1000
).
each
do
threads
<<
Thread
.
new
do
Timeout
.
timeout
(
0.2
)
do
open
(
"http://169.254.169.254/latest/meta-data/"
)
end
end
end
threads
.
each
{
|
thr
|
thr
.
join
}
« Previous
1
2
3
Next »
(2-2/3)
Loading...