Skip to content

Commit

Permalink
log error if we trip over too many pending messages for actor
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzo committed Aug 26, 2020
1 parent 82ef052 commit 038e83b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chain/messagepool/messagepool.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 038e83b

Please sign in to comment.