aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-build-task.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-07-20 21:19:36 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-07-20 21:19:36 +0300
commit58e98949ad3dc27b8261688b99f920d106724252 (patch)
treebcdbe7bf4ad102fd532e266bb838548087a85dd2 /mod/mod-build-task.cxx
parentea6808cc41094b87f667705587fe2deea0437a1e (diff)
Log more info when issue warnings in build-result and build-force handlers
Diffstat (limited to 'mod/mod-build-task.cxx')
-rw-r--r--mod/mod-build-task.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/mod-build-task.cxx b/mod/mod-build-task.cxx
index 3ab0ea8..390fe8e 100644
--- a/mod/mod-build-task.cxx
+++ b/mod/mod-build-task.cxx
@@ -876,7 +876,7 @@ handle (request& rq, response& rs)
//
// This is why we query the database for configurations that should not
// be built (in the built state, or in the building state and not
- // expired). Having such a list we will select the first build
+ // expired). Having such a list we will select the first build
// configuration that is not in the list (if available) for the
// response.
//
@@ -921,8 +921,8 @@ handle (request& rq, response& rs)
return (b.force == force_state::forced &&
b.timestamp <= forced_rebuild_expiration) ||
- b.soft_timestamp <= soft_rebuild_expiration ||
- b.hard_timestamp <= hard_rebuild_expiration;
+ b.soft_timestamp <= soft_rebuild_expiration ||
+ b.hard_timestamp <= hard_rebuild_expiration;
};
// Convert a build to the hard rebuild, resetting the agent checksum.