// first work out how many are old enough to kick off.
shared_ptr<Session>worst;
unsignedagedPeers=0;
for(autoi:m_peers)
if(autop=i.second.lock())
if(/*(m_mode != NodeMode::Host || p->m_caps != 0x01) &&*/chrono::steady_clock::now()>p->m_connect+chrono::milliseconds(old))// don't throw off new peers; peer-servers should never kick off other peer-servers.
if(/*(m_mode != NodeMode::Host || p->m_caps != 0x01) &&*/chrono::steady_clock::now()>p->m_connect+chrono::milliseconds(old))// don't throw off new peers; peer-servers should never kick off other peer-servers.