mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Work around getaddrinfo deadlock in forked process
See https://bugs.ruby-lang.org/issues/17220. This will prevent every CI run from getting stuck and eventually timing out after 30 minutes.
This commit is contained in:
parent
64b1c81532
commit
7cf8e30902
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ module SidekiqJobsManager
|
|||
continue_read, continue_write = IO.pipe
|
||||
death_read, death_write = IO.pipe
|
||||
|
||||
sleep 1
|
||||
@pid = fork do
|
||||
continue_read.close
|
||||
death_write.close
|
||||
|
|
Loading…
Reference in a new issue