aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-11-24 12:28:58 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-11-24 12:28:58 +0300
commitd3ff971fc984371f0d12e29b23db7869f54b143c (patch)
treea29513f46ad1d7f716dfb22a954b736cd26f6f72
parent363a806769b1f43dc68f16dcf84db21bff5fe09a (diff)
Fix forced package re-build timeout evaluation
-rw-r--r--mod/mod-build-task.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/mod-build-task.cxx b/mod/mod-build-task.cxx
index 22d0110..ec937fd 100644
--- a/mod/mod-build-task.cxx
+++ b/mod/mod-build-task.cxx
@@ -628,8 +628,8 @@ handle (request& rq, response& rs)
assert (b.state == build_state::built);
return (b.force == force_state::forced &&
- b.soft_timestamp <= forced_rebuild_expiration) ||
- b.soft_timestamp <= soft_rebuild_expiration ||
+ b.timestamp <= forced_rebuild_expiration) ||
+ b.soft_timestamp <= soft_rebuild_expiration ||
b.hard_timestamp <= hard_rebuild_expiration;
};