Skip to content

Commit 766aeee

Browse files
author
Vibhav Pant
committed
Add documentation for RoutingTableLatencyTolerance.
1 parent 04a53d2 commit 766aeee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

opts/options.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ var Defaults = func(o *Options) error {
7171
return nil
7272
}
7373

74+
// RoutingTableLatencyTolerance sets the maximum acceptable latency for peers
75+
// in the routing table's cluster.
7476
func RoutingTableLatencyTolerance(latency time.Duration) Option {
7577
return func(o *Options) error {
7678
o.RoutingTable.LatencyTolerance = latency

0 commit comments

Comments
 (0)