aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/substitution-goal.cc
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-09-25 23:57:46 +0200
committereldritch horrors <pennae@lix.systems>2024-09-29 15:29:56 +0000
commitaa33c34c9be074c9452976aa96d71091325c83ea (patch)
treef27c04e2cf373c3e4a5201d68b18d9f86b29e95c /src/libstore/build/substitution-goal.cc
parentccd28626663d0024f04c31f121586f951b2283ab (diff)
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
Diffstat (limited to 'src/libstore/build/substitution-goal.cc')
-rw-r--r--src/libstore/build/substitution-goal.cc2
1 files changed, 1 insertions, 1 deletions
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<WorkResult> { return ContinueImmediately{}; });
+ return pipe.promise.then([]() -> Result<WorkResult> { return StillAlive{}; });
} catch (...) {
return {std::current_exception()};
}