From 5cc502580f504a94fceaf507be5e0492db9f3ddb Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Sat, 17 Feb 2024 11:30:16 +0100 Subject: [PATCH] Increase read buffer to 4 MiB --- client/unixsocketclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/unixsocketclient.go b/client/unixsocketclient.go index 2b87ac9..b66571b 100644 --- a/client/unixsocketclient.go +++ b/client/unixsocketclient.go @@ -9,7 +9,7 @@ import ( "github.com/quexten/goldwarden/ipc/messages" ) -const READ_BUFFER = 1 * 1024 * 1024 // 1MB +const READ_BUFFER = 4 * 1024 * 1024 // 16MB type UnixSocketClient struct { runtimeConfig *config.RuntimeConfig