diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-10 23:08:29 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-10 23:08:29 +0200 |
| commit | feb34d807e85d626a7ff08a51bba17f93375ddaa (patch) | |
| tree | 94b1de33313f7b3e68e232c70c86d63c2ef15a97 /internal/flags | |
| parent | db75c8b17549fdfa23cc8622770d257fa0d7420f (diff) | |
config: centralize default buffer sizes (task 388)
Diffstat (limited to 'internal/flags')
| -rw-r--r-- | internal/flags/flags.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/flags/flags.go b/internal/flags/flags.go index 50a5926..df4187c 100644 --- a/internal/flags/flags.go +++ b/internal/flags/flags.go @@ -12,6 +12,7 @@ import ( "time" "ior/internal/collapse" + appconfig "ior/internal/config" "ior/internal/globalfilter" ) @@ -56,7 +57,7 @@ func NewFlags() Config { return Config{ PidFilter: -1, TidFilter: -1, - EventMapSize: 4096 * 16, + EventMapSize: appconfig.DefaultEventMapSize, Duration: 900, LiveInterval: 200 * time.Millisecond, TUIExportEnable: true, |
