open-consul/agent/rpc
Freddy 160acdf876
Actually block when syncing subscriptions (#13066)
By changing to use WatchCtx we will actually block for changes to the peering list. WatchCh creates a goroutine to collect errors from WatchCtx and returns immediately.

The existing behavior wouldn't result in a tight loop because of the rate limiting in the surrounding function, but it would still lead to more work than is necessary.
2022-05-12 17:36:14 -06:00
..
middleware add more labels to RequestRecorder (#12727) 2022-04-12 10:50:25 -07:00
peering Actually block when syncing subscriptions (#13066) 2022-05-12 17:36:14 -06:00