From 3a9b147b923a2990e318af2955d12d6676b89e53 Mon Sep 17 00:00:00 2001 From: Audric Date: Sun, 22 Mar 2026 10:19:07 +0100 Subject: [PATCH] Relax client and satellite server connection throttling to match HTTP server --- src/svxlink/reflector/Reflector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/svxlink/reflector/Reflector.cpp b/src/svxlink/reflector/Reflector.cpp index 75f68fa..2416599 100644 --- a/src/svxlink/reflector/Reflector.cpp +++ b/src/svxlink/reflector/Reflector.cpp @@ -314,7 +314,7 @@ bool Reflector::initialize(Async::Config &cfg) std::string listen_port("5300"); cfg.getValue("GLOBAL", "LISTEN_PORT", listen_port); m_srv = new TcpServer(listen_port); - m_srv->setConnectionThrottling(10, 0.1, 1000); + m_srv->setConnectionThrottling(100, 10.0, 1000); m_srv->clientConnected.connect( mem_fun(*this, &Reflector::clientConnected)); m_srv->clientDisconnected.connect( @@ -2062,7 +2062,7 @@ void Reflector::initSatelliteServer(void) m_satellite_secret = sat_secret; m_sat_srv = new TcpServer(sat_port); - m_sat_srv->setConnectionThrottling(10, 0.1, 1000); + m_sat_srv->setConnectionThrottling(100, 10.0, 1000); m_sat_srv->clientConnected.connect( sigc::mem_fun(*this, &Reflector::satelliteConnected)); m_sat_srv->clientDisconnected.connect(