From 036972319f4abc9453c87c88a88acea36ec484c7 Mon Sep 17 00:00:00 2001 From: tanlang Date: Fri, 14 Oct 2022 09:18:11 +0000 Subject: [PATCH] fix: promote logLevel when nonceGap reach maxAllow --- service/message_selector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/message_selector.go b/service/message_selector.go index b00b99a5..3254bedb 100644 --- a/service/message_selector.go +++ b/service/message_selector.go @@ -173,7 +173,7 @@ func (messageSelector *MessageSelector) selectAddrMessage(ctx context.Context, a //calc the message needed nonceGap := addr.Nonce - nonceInLatestTs if nonceGap >= maxAllowPendingMessage { - messageSelector.log.Infof("%s there are %d message not to be package ", addr.Addr, nonceGap) + messageSelector.log.Errorf("%s there are %d message not to be package ", addr.Addr, nonceGap) return &MsgSelectResult{ ToPushMsg: toPushMessage, }, nil