From 1044350b4b69dba58c3e7520bfe2446ba11c3d30 Mon Sep 17 00:00:00 2001 From: Vivian Leung Date: Thu, 3 Jul 2025 09:24:28 +0200 Subject: [PATCH] Remove unused code: ShamanGarbageCollect struct in config.go (#104407) No functional changes. Reviewed-on: https://projects.blender.org/studio/flamenco/pulls/104407 --- internal/manager/config/config.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/internal/manager/config/config.go b/internal/manager/config/config.go index 7a013add..54177e81 100644 --- a/internal/manager/config/config.go +++ b/internal/manager/config/config.go @@ -106,20 +106,6 @@ type Base struct { MQTT MQTTConfig `yaml:"mqtt"` } -// GarbageCollect contains the config options for the GC. -type ShamanGarbageCollect struct { - // How frequently garbage collection is performed on the file store: - Period Duration `yaml:"period"` - // How old files must be before they are GC'd: - MaxAge Duration `yaml:"maxAge"` - // Paths to check for symlinks before GC'ing files. - ExtraCheckoutDirs []string `yaml:"extraCheckoutPaths"` - - // Used by the -gc CLI arg to silently disable the garbage collector - // while we're performing a manual sweep. - SilentlyDisable bool `yaml:"-"` -} - // MQTTConfig contains the configuration options for MQTT broker (idea for the future) and client. type MQTTConfig struct { Client eventbus.MQTTClientConfig `yaml:"client"`