- if (cct->_conf->subsys.should_gather<ceph_subsys_ms, 5>()) {
- for (const auto& c : deleted_conns) {
- ldout(cct, 5) << __func__ << " delete " << c << dendl;
- }
+ for (const auto& c : deleted_conns) {
+ ldout(cct, 5) << __func__ << " delete " << c << dendl;
+ c->get_perf_counter()->dec(l_msgr_active_connections);