instance method
reap_dead_workers
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
reap_dead_workers()
No documentation comment.
Source
# File activesupport/lib/active_support/testing/parallelization/server.rb, line 106
def reap_dead_workers
dead_pids = @worker_pids.values.select do |pid|
Process.waitpid(pid, Process::WNOHANG)
rescue Errno::ECHILD
true
end
remove_dead_workers(dead_pids)
end
Defined in activesupport/lib/active_support/testing/parallelization/server.rb line 106
· View on GitHub
· Improve this page
· Find usages on GitHub