diff --git a/internal/scheduler/interval_chain.go b/internal/scheduler/interval_chain.go index 6f1ae84..1859133 100644 --- a/internal/scheduler/interval_chain.go +++ b/internal/scheduler/interval_chain.go @@ -27,10 +27,6 @@ func (sch *Scheduler) isValid(ichain IntervalChain) bool { } func (sch *Scheduler) reschedule(ctx context.Context, ichain IntervalChain) { - if ichain.SelfDestruct { - sch.pgengine.DeleteChain(ctx, ichain.ChainID) - return - } log.GetLogger(ctx).Debug("Sleeping before next execution of interval chain") select { case <-time.After(time.Duration(ichain.Interval) * time.Second):