mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-09-04 14:48:15 +08:00
Merge 5b265c5a3fc7fbc2b4660b2133689e15368d9808 into 175a7bb0673eca18e9d1b10bff4f728da6b1b513
This commit is contained in:
commit
3308e84f53
@ -101,6 +101,7 @@ func (k *KubernetesConnManager) GetConns(ctx context.Context, serviceName string
|
||||
// Check if another goroutine has already initialized the connections when we released the read lock
|
||||
conns, exists = k.connMap[serviceName]
|
||||
if exists {
|
||||
k.mu.Unlock()
|
||||
return conns, nil
|
||||
}
|
||||
k.mu.Unlock()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user