From 3050d64909f4c2cac0d0643b2591e0c20d11d860 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Tue, 17 Sep 2024 19:11:16 -0700 Subject: [PATCH] fix(go): fix type conversion for windows --- core/chat/utils_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/chat/utils_windows.go b/core/chat/utils_windows.go index 56fd59854..792bf980d 100644 --- a/core/chat/utils_windows.go +++ b/core/chat/utils_windows.go @@ -3,7 +3,7 @@ package chat -func getMaximumConcurrentConnectionLimit() int64 { +func getMaximumConcurrentConnectionLimit() uint64 { // The maximum limit I can find for windows is 16,777,216 // (essentially unlimited, but add the 0.7 multiplier as well to be // consistent with other systems)