From 72d8458270a88cde27262afeb54a5345035cfd92 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 15 May 2023 11:33:32 +0200 Subject: Change warning to info when timed our acquiring global toolchain lock --- bbot/agent/agent.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bbot/agent/agent.cxx b/bbot/agent/agent.cxx index 5c91025..67cf57f 100644 --- a/bbot/agent/agent.cxx +++ b/bbot/agent/agent.cxx @@ -822,7 +822,11 @@ try optional l; while (!(l = lock_toolchain (60 /* seconds */))) { - warn << "unable to acquire global toolchain lock " << tc_lock + // One typical situation where this can happen is when another agent + // takes a while to request a task (e.g., due to network issues). So + // this is an info as opposed to a warning. + // + info << "unable to acquire global toolchain lock " << tc_lock << " for 60s"; } pr.first = move (*l); -- cgit v1.1