From 1bd8f9b8c55a8299985b49e01c98a7846d52f7cd Mon Sep 17 00:00:00 2001 From: Alon Girmonsky <1990761+alongir@users.noreply.github.com> Date: Tue, 8 Oct 2024 10:43:42 -0700 Subject: [PATCH] Set reasonable `pcapdump` defaults. Storage is now at 10% of the Worker's allocated storage. --- config/configStructs/tapConfig.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/configStructs/tapConfig.go b/config/configStructs/tapConfig.go index b67ea3188..093a5d257 100644 --- a/config/configStructs/tapConfig.go +++ b/config/configStructs/tapConfig.go @@ -198,9 +198,9 @@ type MiscConfig struct { type PcapDumpConfig struct { PcapDumpEnabled bool `yaml:"enabled" json:"enabled" default:"true"` - PcapTimeInterval string `yaml:"timeInterval" json:"timeInterval" default:"10m"` + PcapTimeInterval string `yaml:"timeInterval" json:"timeInterval" default:"1m"` PcapMaxTime string `yaml:"maxTime" json:"maxTime" default:"1h"` - PcapMaxSize string `yaml:"maxSize" json:"maxSize" default:"10MB"` + PcapMaxSize string `yaml:"maxSize" json:"maxSize" default:"500MB"` PcapSrcDir string `yaml:"pcapSrcDir" json:"pcapSrcDir" default:"pcapdump"` }