1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Scale sleeping times to wait for the OS operations

This commit is contained in:
Nobuyoshi Nakada 2019-12-24 14:56:17 +09:00
parent 7758849cb5
commit a3c5dbf291
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -172,4 +172,8 @@ private
return written
end while true
end
def sleep(time)
super EnvUtil.apply_timeout_scale(time)
end
end if IO.method_defined?(:wait)