Commit c1552f08 authored by Ivan Vilata-i-Balaguer's avatar Ivan Vilata-i-Balaguer
Browse files

Indicate maxed swarm capacity in client's swarm status message.

parent 549f8020
......@@ -506,7 +506,8 @@ void Bep5Client::status_loop(asio::yield_context yield)
auto hlp_n = _helpers_swarm ? _helpers_swarm->peers().size() : 0;
logger.debug(util::str(
"Bep5Client: swarm status:",
" injectors=", inj_n, " bridges=", hlp_n));
" injectors=", inj_n, (inj_n == injector_swarm_capacity ? " (max)" : ""),
" bridges=", hlp_n, (hlp_n == helper_swarm_capacity ? " (max)" : "")));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment