From 82b410f086fb55c2ae2cb5acaae14ba0cfd23b16 Mon Sep 17 00:00:00 2001 From: Alonso Date: Tue, 12 Nov 2024 09:15:14 +0100 Subject: [PATCH] comment --- datastreamer/streamserver.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/datastreamer/streamserver.go b/datastreamer/streamserver.go index 0c140ba..35e1177 100644 --- a/datastreamer/streamserver.go +++ b/datastreamer/streamserver.go @@ -115,8 +115,9 @@ type StreamServer struct { // Time interval to check for client connections that have reached // the inactivity timeout and kill them inactivityCheckInterval time.Duration - maxConnections uint32 - started bool // Flag server started + // maxConnections specifies the max number of connections open. If it is set to 0, the limit is disabled. + maxConnections uint32 + started bool // Flag server started version uint8 systemID uint64