From 58e98949ad3dc27b8261688b99f920d106724252 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 20 Jul 2023 21:19:36 +0300 Subject: Log more info when issue warnings in build-result and build-force handlers --- mod/mod-build-task.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/mod-build-task.cxx') 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. -- cgit v1.1