refactor(scheduling): remove unused engine accessors

This commit is contained in:
sam committed 2026-10-14 23:10:35 +11:00
1 parent f537d5f8cd
commit f96c44d092
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 {