log error if we trip over too many pending messages for actor
This commit is contained in:
parent
82ef0529d8
commit
038e83b647
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user