From cf06035dcd6040a9a2a62da2b44cc0f2acd27b32 Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 21 May 2023 17:20:57 +0800 Subject: [PATCH] emit a warning when xous-names blocks on a connect otherwise we have a silent failure, which is a bit confusing. --- services/xous-names/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/services/xous-names/src/main.rs b/services/xous-names/src/main.rs index ff6b2f881..8438edd51 100644 --- a/services/xous-names/src/main.rs +++ b/services/xous-names/src/main.rs @@ -197,6 +197,7 @@ impl CheckedHashMap { (*entry).current_conns += 1; (Some(entry.sid), entry.token) } else { + log::warn!("Attempt to connect, but no connections available: {:?}", name.to_str()); (None, None) } }