aboutsummaryrefslogtreecommitdiff
path: root/internal/monitor
diff options
context:
space:
mode:
authorRasmus Dahlberg <rgdd@glasklarteknik.se>2024-05-16 08:51:38 +0200
committerRasmus Dahlberg <rgdd@glasklarteknik.se>2024-05-16 08:51:38 +0200
commit6567c8f4ec3eefb855c6ef630a53b0fb8d8bf1e9 (patch)
tree9a183137225775984dc4c11ef4805226f1dfeb97 /internal/monitor
parent469c79e469556f9815f6456b8c08fcc9c8d54479 (diff)
Reduce default chunk size
Diffstat (limited to 'internal/monitor')
-rw-r--r--internal/monitor/monitor.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/monitor/monitor.go b/internal/monitor/monitor.go
index 12d93cf..6de7193 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 = 16364
+ cfg.ChunkSize = 4096
}
if cfg.BatchSize == 0 {
cfg.BatchSize = 1024