feat: add cache cleaning functionality and configuration option

This commit is contained in:
krau
2025-02-12 12:24:15 +08:00
parent 0fb5634874
commit a746cc0fc7
2 changed files with 33 additions and 3 deletions

View File

@@ -9,8 +9,9 @@ import (
)
type Config struct {
Workers int `toml:"workers" mapstructure:"workers"`
Retry int `toml:"retry" mapstructure:"retry"`
Workers int `toml:"workers" mapstructure:"workers"`
Retry int `toml:"retry" mapstructure:"retry"`
NoCleanCache bool `toml:"no_clean_cache" mapstructure:"no_clean_cache"`
Temp tempConfig `toml:"temp" mapstructure:"temp"`
Log logConfig `toml:"log" mapstructure:"log"`