1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00

Add option to enable maintenance mode

This commit is contained in:
Frédéric Guillot 2020-09-12 18:31:45 -07:00
parent a8de067810
commit df7a6e18fd
5 changed files with 37 additions and 1 deletions

View file

@ -34,7 +34,7 @@ func startDaemon(store *storage.Storage) {
go showProcessStatistics()
if config.Opts.HasSchedulerService() {
if config.Opts.HasSchedulerService() && !config.Opts.HasMaintenanceMode() {
scheduler.Serve(store, pool)
}