emit a warning when xous-names blocks on a connect

otherwise we have a silent failure, which is a bit confusing.
This commit is contained in:
bunnie 2023-05-21 17:20:57 +08:00
parent 0065707528
commit cf06035dcd

View file

@ -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)
}
}