diff options
| author | 2025-08-12 22:33:41 +0700 | |
|---|---|---|
| committer | 2025-08-12 22:33:41 +0700 | |
| commit | 73d4a3658ca14527e8a749bb8850a2c8e4bfac88 (patch) | |
| tree | 19fb6b4ff9bdb50f39ffcbf13a0f0a4698166ed0 /config | |
| parent | 140dd55ae162c3fd3337ab5ad96d418acab10deb (diff) | |
| download | articlator-73d4a3658ca14527e8a749bb8850a2c8e4bfac88.tar.gz articlator-73d4a3658ca14527e8a749bb8850a2c8e4bfac88.zip | |
feat: integrate parallel execution
refactor: simplify frontmatter parser
feat: always check for '.md' extension
feat: new timezone field
Diffstat (limited to 'config')
| -rw-r--r-- | config/config.go | 5 | ||||
| -rw-r--r-- | config/config.json | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/config/config.go b/config/config.go index 63c1e0c..515047e 100644 --- a/config/config.go +++ b/config/config.go @@ -10,8 +10,9 @@ import ( ) type Config struct { - LogLevel slog.Level `json:"LogLevel" validate:"required"` - Storage StorageConfig `json:"Storage" validate:"required"` + LogLevel slog.Level `json:"LogLevel" validate:"required"` + Storage StorageConfig `json:"Storage" validate:"required"` + MaxConcurrentJobs int `json:"MaxConcurrentJobs" validate:"required,min=1"` } type StorageConfig struct { diff --git a/config/config.json b/config/config.json index 9a49b76..a48f0ff 100644 --- a/config/config.json +++ b/config/config.json @@ -1,5 +1,6 @@ { "LogLevel": "debug", + "MaxConcurrentJobs": 8, "Storage": { "Type": "b2", "Config": { |