]> granicus.if.org Git - icinga2/commitdiff
Increase limit for simultaneously connected anonymous TLS clients 6570/head
authorMichael Friedrich <michael.friedrich@icinga.com>
Thu, 23 Aug 2018 15:10:51 +0000 (17:10 +0200)
committerMichael Friedrich <michael.friedrich@icinga.com>
Thu, 23 Aug 2018 15:10:51 +0000 (17:10 +0200)
lib/remote/apilistener.cpp

index 8c0abf570fa254d3fdd235d5ff2395678cc5cd96..1ac640d8be1edf5c5a9ffd5354cf8ce2bb16cb8a 100644 (file)
@@ -1384,7 +1384,7 @@ double ApiListener::CalculateZoneLag(const Endpoint::Ptr& endpoint)
 bool ApiListener::AddAnonymousClient(const JsonRpcConnection::Ptr& aclient)
 {
        boost::mutex::scoped_lock lock(m_AnonymousClientsLock);
-       if (m_AnonymousClients.size() > 25)
+       if (m_AnonymousClients.size() > 100)
                return false;
 
        m_AnonymousClients.insert(aclient);