1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-26 18:21:01 +00:00

fix(config): FORCE_REFRESH_INTERVAL duration should be in minutes

Regression introduced in commit c6536e8
This commit is contained in:
Frédéric Guillot 2025-08-24 13:16:40 -07:00
parent 737f25f441
commit e8f5c2446c
3 changed files with 4 additions and 4 deletions

View file

@ -139,7 +139,7 @@ func (p *parser) parseLines(lines []string) (err error) {
case "WORKER_POOL_SIZE":
p.opts.workerPoolSize = parseInt(value, defaultWorkerPoolSize)
case "FORCE_REFRESH_INTERVAL":
p.opts.forceRefreshInterval = parseInterval(value, time.Second, defaultForceRefreshInterval)
p.opts.forceRefreshInterval = parseInterval(value, time.Minute, defaultForceRefreshInterval)
case "BATCH_SIZE":
p.opts.batchSize = parseInt(value, defaultBatchSize)
case "POLLING_FREQUENCY":