The subscribers map needs to be protected by a mutex, otherwise this map
may be concurrently modified.
To avoid overly long locks while refreshing, which would globally block
dialing or closing connections, the lock is not held during the actual
path query.
The subscribers map needs to be protected by a mutex, otherwise this map may be concurrently modified. To avoid overly long locks while refreshing, which would globally block dialing or closing connections, the lock is not held during the actual path query.
This change is