mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-21 17:56:39 +00:00
add log on broadcasting update
This commit is contained in:
@@ -236,6 +236,7 @@ func (s *ProxyServiceServer) SendAccessLog(ctx context.Context, req *proto.SendA
|
|||||||
// Management should call this when reverse proxies are created/updated/removed
|
// Management should call this when reverse proxies are created/updated/removed
|
||||||
func (s *ProxyServiceServer) SendReverseProxyUpdate(update *proto.ProxyMapping) {
|
func (s *ProxyServiceServer) SendReverseProxyUpdate(update *proto.ProxyMapping) {
|
||||||
// Send it to all connected proxies
|
// Send it to all connected proxies
|
||||||
|
log.Debugf("Broadcasting reverse proxy update to all connected proxies")
|
||||||
s.connectedProxies.Range(func(key, value interface{}) bool {
|
s.connectedProxies.Range(func(key, value interface{}) bool {
|
||||||
conn := value.(*proxyConnection)
|
conn := value.(*proxyConnection)
|
||||||
select {
|
select {
|
||||||
|
|||||||
Reference in New Issue
Block a user