Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(internal/statesync): replace ticker with
time.After(X)
(co…
…metbft#2294) - Remove `defer` from `ticker.Stop()` inside the loop. - Manually call `ticker.Stop()` at necessary points in the loop to ensure tickers are stopped correctly after each iteration. --------- Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
- Loading branch information