Increase read buffer to 4 MiB

This commit is contained in:
Bernd Schoolmann 2024-02-17 11:30:16 +01:00
parent f7da373fa0
commit 5cc502580f
No known key found for this signature in database

View File

@ -9,7 +9,7 @@ import (
"github.com/quexten/goldwarden/ipc/messages" "github.com/quexten/goldwarden/ipc/messages"
) )
const READ_BUFFER = 1 * 1024 * 1024 // 1MB const READ_BUFFER = 4 * 1024 * 1024 // 16MB
type UnixSocketClient struct { type UnixSocketClient struct {
runtimeConfig *config.RuntimeConfig runtimeConfig *config.RuntimeConfig