comment config value

License: MIT
Signed-off-by: Adrian Lanzafame <adrianlanzafame92@gmail.com>
This commit is contained in:
Adrian Lanzafame 2019-04-18 10:53:27 +10:00
parent eae4329cb3
commit bf1b5eff90
No known key found for this signature in database
GPG Key ID: 87E40C5D62EAE192

View File

@ -22,7 +22,10 @@ const (
type Config struct {
config.Saver
CheckInterval time.Duration
CheckInterval time.Duration
// FailureThreshold indicates when a peer should be considered failed.
// The greater the threshold value the more leniency is granted.
// A value between 2.0 and 4.0 is suggested for the threshold.
FailureThreshold float64
}