mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-11-24 02:24:59 +08:00
Merge 5b265c5a3fc7fbc2b4660b2133689e15368d9808 into 7788c8672143e4f3d10f38a0c24058fc9520af1e
This commit is contained in:
commit
274ae3107d
@ -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