We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04a53d2 commit 766aeeeCopy full SHA for 766aeee
opts/options.go
@@ -71,6 +71,8 @@ var Defaults = func(o *Options) error {
71
return nil
72
}
73
74
+// RoutingTableLatencyTolerance sets the maximum acceptable latency for peers
75
+// in the routing table's cluster.
76
func RoutingTableLatencyTolerance(latency time.Duration) Option {
77
return func(o *Options) error {
78
o.RoutingTable.LatencyTolerance = latency
0 commit comments