From aa33c34c9be074c9452976aa96d71091325c83ea Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Wed, 25 Sep 2024 23:57:46 +0200 Subject: libstore: merge ContinueImmediately and StillAlive nothing needs to signal being still active but not actively pollable, only that immediate polling for the next goal work phase is in order. Change-Id: Ia43c1015e94ba4f5f6b9cb92943da608c4a01555 --- src/libstore/build/worker.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libstore/build/worker.cc') diff --git a/src/libstore/build/worker.cc b/src/libstore/build/worker.cc index 94a638725..b23b2800e 100644 --- a/src/libstore/build/worker.cc +++ b/src/libstore/build/worker.cc @@ -212,8 +212,7 @@ void Worker::handleWorkResult(GoalPtr goal, Goal::WorkResult how) { std::visit( overloaded{ - [&](Goal::StillAlive) {}, - [&](Goal::ContinueImmediately) { wakeUp(goal); }, + [&](Goal::StillAlive) { wakeUp(goal); }, [&](Goal::Finished & f) { goalFinished(goal, f); }, }, how -- cgit v1.2.3