mirror of https://github.com/linkerd/linkerd2.git
Problem: Simulate proxy would seemingly hang when used. In simulate-proxy we were using rand.Uint32() to generate Count. This is way too big (in telemetry/server.go we call latencyStat.observe() Count times, so this loop was taking fovever). Solution: Use a count of 1 (as the surrounding loop will generate count requests) Validation: Script now works without hanging. |
||
---|---|---|
.. | ||
destination-client | ||
simulate-proxy |