diff options
author | Rasmus Dahlberg <rasmus@rgdd.se> | 2024-01-08 08:59:46 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus@rgdd.se> | 2024-01-08 08:59:46 +0100 |
commit | 4b74d842248bb249f0677fd6418ea5ec9bc50ff8 (patch) | |
tree | 7f0a214e2e5e42269b5336beb59580e2d61d0b13 /internal | |
parent | 5fdbcbed9f9982e52a9b760f994ffe31659182b7 (diff) |
Set larger chunk size default
Diffstat (limited to 'internal')
-rw-r--r-- | internal/monitor/monitor.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |