mirror of
https://github.com/miniflux/v2.git
synced 2025-08-16 18:01:37 +00:00
Add config options to disable HTTP and scheduler services
This commit is contained in:
parent
487852f07e
commit
becd086865
5 changed files with 80 additions and 3 deletions
|
@ -15,6 +15,7 @@ import (
|
|||
|
||||
// Serve starts the internal scheduler.
|
||||
func Serve(cfg *config.Config, store *storage.Storage, pool *worker.Pool) {
|
||||
logger.Info(`Starting scheduler...`)
|
||||
go feedScheduler(store, pool, cfg.PollingFrequency(), cfg.BatchSize())
|
||||
go cleanupScheduler(store, cfg.CleanupFrequency())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue