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:
parent
a8de067810
commit
df7a6e18fd
5 changed files with 37 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue