Files
ubicloud/spec/prog/base_spec.rb
Jeremy Evans 835f334d97 Combine donate into reap
With earlier changes, Prog::Base#donate is only called by
Prog::Base#reap (outside a couple of test calls that don't
need to call it).

Moving donate into reap avoids a redundant child query. When
we would call donate, we already know which children are
active, because reap already selected all children, and
separated them into reapable children and active children.
2025-06-27 01:40:47 +09:00

14 KiB