diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-11-24 12:28:58 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-11-24 12:28:58 +0300 |
commit | d3ff971fc984371f0d12e29b23db7869f54b143c (patch) | |
tree | a29513f46ad1d7f716dfb22a954b736cd26f6f72 /mod/mod-build-task.cxx | |
parent | 363a806769b1f43dc68f16dcf84db21bff5fe09a (diff) |
Fix forced package re-build timeout evaluation
Diffstat (limited to 'mod/mod-build-task.cxx')
-rw-r--r-- | mod/mod-build-task.cxx | 4 |
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; }; |