refactor(scheduling): remove unused engine accessors
Quality / check (push) Canceled after 0s

This commit is contained in:
sam committed 2026-10-14 23:10:35 +11:00
1 parent 0cc8e5e676
commit c1554d63c0
1 file changed
-9
-9
View File
@@ -140,15 +140,6 @@ func NewEngine(source JobSource, runner Runner, cfg EngineConfig) (*Engine, erro
}, nil
}
// Interval reports the resolved tick cadence.
func (e *Engine) Interval() time.Duration { return e.cfg.Interval }
// MaxParallel reports the resolved parallel-pool cap.
func (e *Engine) MaxParallel() int { return e.cfg.MaxParallel }
// JobTimeout reports the resolved per-run timeout.
func (e *Engine) JobTimeout() time.Duration { return e.cfg.JobTimeout }
// Start launches the tick loop and the sequential worker. An engine can be
// started only once.
func (e *Engine) Start(ctx context.Context) error {