refactor(merge): extract adaptive worker spawn logic #28
Reference in New Issue
Block a user
Delete Branch "push-yzruqtyqvopm"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Centralize inline spawn checks into a
should_spawn_workerfunction with adaptive thresholds. The first worker spawns at <95% CPU efficiency, while subsequent workers only trigger if marginal efficiency gain exceeds 25% of the expected1/n_workers(minimum 3%). Also increases the spawn poll interval from 10s to 20s.