diff options
Diffstat (limited to 'internal/cli/serve.go')
| -rw-r--r-- | internal/cli/serve.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/internal/cli/serve.go b/internal/cli/serve.go index 7ee8d49..57d4681 100644 --- a/internal/cli/serve.go +++ b/internal/cli/serve.go @@ -251,9 +251,10 @@ func serve(addr, basePath string) error { // internal/scheduler). Only `serve` runs this background loop — the // one-shot `run` command has no long-lived process to host it in. sch := &scheduler.Scheduler{ - Store: store, - Pool: pool, - Logger: logger, + Store: store, + Pool: pool, + Logger: logger, + AskUserTimeout: cfg.Scheduler.AskUserTimeout(), } if accountant != nil { // Only assign when non-nil: a nil *budget.Accountant boxed into the |
