instance method reap_dead_workers

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

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

Defined in ActiveSupport::Testing::Parallelization::Server

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close