Change MaxAlertThreshold to 1

This commit is contained in:
Hector Sanjuan 2019-06-10 14:09:06 +02:00 committed by Hector Sanjuan
parent 14841e4e24
commit a0d93fc62c

View File

@ -19,7 +19,7 @@ var AlertChannelCap = 256
// MaxAlertThreshold specifies how many alerts will occur per a peer is
// removed the list of monitored peers.
var MaxAlertThreshold = 5
var MaxAlertThreshold = 1
// ErrAlertChannelFull is returned if the alert channel is full.
var ErrAlertChannelFull = errors.New("alert channel is full")