- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for networkLatency (0.2 sec)
-
pkg/test/loadbalancersim/mesh/mesh.go
// Lookup the route between the source and destination networkLatency := m.s.NetworkLatencies[RouteKey{ Src: src.Locality(), Dest: dest.Locality(), }] request := dest.Request if networkLatency > time.Duration(0) { request = func(onDone func()) { m.networkQ.Schedule(func() { dest.Request(onDone) }, time.Now().Add(networkLatency)) } } return network.NewConnection(dest.Name(), request)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 27 20:55:37 UTC 2022 - 2.3K bytes - Viewed (0)