From 2160510fcc22a8574b0090fd91ca29072f45ab59 Mon Sep 17 00:00:00 2001 From: vnugent Date: Fri, 31 May 2024 15:12:20 -0400 Subject: refactor: Immutable tcp listeners --- lib/Utils/src/Async/AsyncQueue.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/Utils') diff --git a/lib/Utils/src/Async/AsyncQueue.cs b/lib/Utils/src/Async/AsyncQueue.cs index e94d08e..ddd2da5 100644 --- a/lib/Utils/src/Async/AsyncQueue.cs +++ b/lib/Utils/src/Async/AsyncQueue.cs @@ -60,7 +60,9 @@ namespace VNLib.Utils.Async /// /// A value that specifies only a single thread be enqueing items? /// A value that specifies only a single thread will be dequeing - /// The maxium number of items to enque without failing + /// + /// The maxium number of items to enque without failing. If set to maximum is disabled + /// public AsyncQueue(bool singleWriter, bool singleReader, int capacity = int.MaxValue) { if(capacity == int.MaxValue) -- cgit