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/substitution-goal.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstore/build/substitution-goal.cc') diff --git a/src/libstore/build/substitution-goal.cc b/src/libstore/build/substitution-goal.cc index d9d8f1a7d..cbbd9daf2 100644 --- a/src/libstore/build/substitution-goal.cc +++ b/src/libstore/build/substitution-goal.cc @@ -240,7 +240,7 @@ try { }); state = &PathSubstitutionGoal::finished; - return pipe.promise.then([]() -> Result { return ContinueImmediately{}; }); + return pipe.promise.then([]() -> Result { return StillAlive{}; }); } catch (...) { return {std::current_exception()}; } -- cgit v1.2.3