mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-28 04:48:44 +08:00
test discov
This commit is contained in:
parent
d9d64d810b
commit
cd273a9094
@ -101,11 +101,11 @@ func NewClient(zkServers []string, zkRoot string, options ...ZkOption) (*ZkClien
|
||||
return nil, err
|
||||
}
|
||||
resolver.Register(client)
|
||||
var wg sync.WaitGroup
|
||||
wg.Add(2)
|
||||
// var wg sync.WaitGroup
|
||||
// wg.Add(2)
|
||||
// go client.refresh(&wg)
|
||||
// go client.watch(&wg)
|
||||
wg.Wait()
|
||||
// wg.Wait()
|
||||
return client, nil
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user