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:
parent
7758849cb5
commit
a3c5dbf291
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue