aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/goal.hh
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-08-12 15:51:14 +0200
committereldritch horrors <pennae@lix.systems>2024-08-19 09:13:44 +0000
commitfb8eb539fca224803014d43c220abbd6e704a962 (patch)
tree51505397366f3c349c47032ebe4fbe73ac5e1939 /src/libstore/build/goal.hh
parent3d14567d0bc810426f2a6b391a47dc153863cf8b (diff)
libstore: move respect-timeoutiness to goal method
this is useless to do on the face of it, but it'll make it easier to convert the entire output handling to use async io and promises soon Change-Id: I2d1eb62c4bbf8f57bd558b9599c08710a389b1a8
Diffstat (limited to 'src/libstore/build/goal.hh')
-rw-r--r--src/libstore/build/goal.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstore/build/goal.hh b/src/libstore/build/goal.hh
index fd7534b0a..114abda41 100644
--- a/src/libstore/build/goal.hh
+++ b/src/libstore/build/goal.hh
@@ -160,6 +160,11 @@ public:
{
}
+ virtual bool respectsTimeouts()
+ {
+ return false;
+ }
+
void trace(std::string_view s);
std::string getName() const