aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-build-result.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2025-02-06 16:46:22 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2025-02-06 17:11:33 +0200
commitda69b1c89b36666ecd6fcc328955a6b1c08ed19f (patch)
tree4338135158e8faed924efc95d3c529460eddd349 /mod/mod-build-result.cxx
parent461d8b0aaff664dca7d0dc44c30e6d20bb2d6661 (diff)
Only set queued_timestamp for queued builds in task handler
Diffstat (limited to 'mod/mod-build-result.cxx')
-rw-r--r--mod/mod-build-result.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/mod-build-result.cxx b/mod/mod-build-result.cxx
index b303386..666e7ef 100644
--- a/mod/mod-build-result.cxx
+++ b/mod/mod-build-result.cxx
@@ -354,7 +354,9 @@ handle (request& rq, response&)
// If we ought to call the tenant_service_build_queued::build_queued()
// callback, then also set the package tenant's queued timestamp to
- // the current time to prevent the notifications race (see
+ // the current time to prevent the task handler from picking the build
+ // and potentially interfering with us by sending its `building`
+ // notification before we send our `queued` notification (see
// tenant::queued_timestamp for details).
//
if (tsq != nullptr)