From 4b74d842248bb249f0677fd6418ea5ec9bc50ff8 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Mon, 8 Jan 2024 08:59:46 +0100 Subject: Set larger chunk size default --- internal/monitor/monitor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal') diff --git a/internal/monitor/monitor.go b/internal/monitor/monitor.go index 6accd97..121d853 100644 --- a/internal/monitor/monitor.go +++ b/internal/monitor/monitor.go @@ -89,7 +89,7 @@ func New(cfg Config, evCh chan Event, cfgCh chan MonitoredLog, errCh chan error) cfg.Contact = "unknown-user" } if cfg.ChunkSize == 0 { - cfg.ChunkSize = 256 // FIXME: 16364 + cfg.ChunkSize = 16364 } if cfg.BatchSize == 0 { cfg.BatchSize = 1024 -- cgit v1.2.3