Diffstat (limited to 'config')
| -rw-r--r-- | config/config.go | 5 | ||||
| -rw-r--r-- | config/config.json | 1 |
2 files changed, 2 insertions, 4 deletions
diff --git a/config/config.go b/config/config.go index 515047e..63c1e0c 100644 --- a/config/config.go +++ b/config/config.go @@ -10,9 +10,8 @@ import ( ) type Config struct { - LogLevel slog.Level `json:"LogLevel" validate:"required"` - Storage StorageConfig `json:"Storage" validate:"required"` - MaxConcurrentJobs int `json:"MaxConcurrentJobs" validate:"required,min=1"` + LogLevel slog.Level `json:"LogLevel" validate:"required"` + Storage StorageConfig `json:"Storage" validate:"required"` } type StorageConfig struct { diff --git a/config/config.json b/config/config.json index a48f0ff..9a49b76 100644 --- a/config/config.json +++ b/config/config.json @@ -1,6 +1,5 @@ { "LogLevel": "debug", - "MaxConcurrentJobs": 8, "Storage": { "Type": "b2", "Config": { |