From f96c44d0924136e24a16dd89ee69d64ef5cb6c7c Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Wed, 14 Oct 2026 23:10:13 +1100 Subject: [PATCH] refactor(scheduling): remove unused engine accessors --- internal/domain/scheduling/ticker.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/internal/domain/scheduling/ticker.go b/internal/domain/scheduling/ticker.go index 0fc5e65d0..60cb940d7 100644 --- a/internal/domain/scheduling/ticker.go +++ b/internal/domain/scheduling/ticker.go @@ -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 {