From 038e83b6470078fea43b5a78450dbdbc7f86deef Mon Sep 17 00:00:00 2001 From: vyzo Date: Wed, 26 Aug 2020 22:53:28 +0300 Subject: [PATCH] log error if we trip over too many pending messages for actor --- chain/messagepool/messagepool.go | 1 + 1 file changed, 1 insertion(+) diff --git a/chain/messagepool/messagepool.go b/chain/messagepool/messagepool.go index 51a847472..2f02bca89 100644 --- a/chain/messagepool/messagepool.go +++ b/chain/messagepool/messagepool.go @@ -166,6 +166,7 @@ func (ms *msgSet) add(m *types.SignedMessage, mp *MessagePool) (bool, error) { } if !has && len(ms.msgs) > MaxActorPendingMessages { + log.Errorf("too many pending messages from actor %s", m.Message.From) return false, ErrTooManyPendingMessages }