From ddbf8fd2289be5706c23663c5a81472a8f6bcb95 Mon Sep 17 00:00:00 2001 From: Audric Date: Sat, 21 Mar 2026 22:28:02 +0100 Subject: [PATCH] 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. --- src/svxlink/reflector/Reflector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/svxlink/reflector/Reflector.cpp b/src/svxlink/reflector/Reflector.cpp index 4962e69..75f68fa 100644 --- a/src/svxlink/reflector/Reflector.cpp +++ b/src/svxlink/reflector/Reflector.cpp @@ -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(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(