diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-05-15 11:33:32 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-05-15 12:40:02 +0200 |
commit | 72d8458270a88cde27262afeb54a5345035cfd92 (patch) | |
tree | d79ae5177fa0b88266b49e45703f073db761757f | |
parent | 58f2faa41b9e8002584f84c600bb0080cdfa9f99 (diff) |
Change warning to info when timed our acquiring global toolchain lock
-rw-r--r-- | bbot/agent/agent.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
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<toolchain_lock> 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); |