Skip to content

Commit 51f1398

Browse files
committed
Don't cancel active tasks in poller
1 parent c0ba962 commit 51f1398

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/orchestrator/poller.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ func (p *Poller) Start(ctx context.Context) {
159159
lastPolledBlock := p.Poll(pollCtx, blockNumbers)
160160
if p.reachedPollLimit(lastPolledBlock) {
161161
log.Info().Msgf("Reached poll limit at block %s, completing poller", lastPolledBlock.String())
162-
cancel()
163162
return
164163
}
165164
}

0 commit comments

Comments
 (0)