Relax HTTP server connection throttling for monitoring

Increase bucket_max from 10 to 100 and bucket_inc from 0.1 to 10.0
to allow more frequent polling of the /status endpoint.
This commit is contained in:
Audric committed 2026-03-21 22:28:02 +01:00
1 parent 64697e61d7
commit ddbf8fd228
1 file changed
+1 -1
+1 -1
View File
@@ -374,7 +374,7 @@ bool Reflector::initialize(Async::Config &cfg)
if (m_cfg->getValue("GLOBAL", "HTTP_SRV_PORT", http_srv_port))
{
m_http_server = new Async::TcpServer<Async::HttpServerConnection>(http_srv_port);
m_http_server->setConnectionThrottling(10, 0.1, 1000);
m_http_server->setConnectionThrottling(100, 10.0, 1000);
m_http_server->clientConnected.connect(
sigc::mem_fun(*this, &Reflector::httpClientConnected));
m_http_server->clientDisconnected.connect(