From a6517bc877ae0481daa394df52ed8130edde7355 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Mon, 25 Jan 2021 15:20:52 +0300 Subject: [PATCH] [#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 --- pkg/innerring/processors/netmap/process_epoch.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/innerring/processors/netmap/process_epoch.go b/pkg/innerring/processors/netmap/process_epoch.go index d9694236..8d69fd90 100644 --- a/pkg/innerring/processors/netmap/process_epoch.go +++ b/pkg/innerring/processors/netmap/process_epoch.go @@ -13,8 +13,6 @@ func (np *Processor) processNewEpoch(epoch uint64) { if err := np.epochTimer.ResetEpochTimer(); err != nil { np.log.Warn("can't reset epoch timer", zap.String("error", err.Error())) - - return } // get new netmap snapshot