[#324] ir/netmap: Do not return on block timer restart error

Continue execution of the new epoch handler in case of a failed timer
restart.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-01-25 15:20:52 +03:00 committed by Alex Vanin
parent 1664cf9869
commit a6517bc877

View file

@ -13,8 +13,6 @@ func (np *Processor) processNewEpoch(epoch uint64) {
if err := np.epochTimer.ResetEpochTimer(); err != nil { if err := np.epochTimer.ResetEpochTimer(); err != nil {
np.log.Warn("can't reset epoch timer", np.log.Warn("can't reset epoch timer",
zap.String("error", err.Error())) zap.String("error", err.Error()))
return
} }
// get new netmap snapshot // get new netmap snapshot