mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
Add etcd as a service discovery mechanism
This commit is contained in:
parent
54d5ff267b
commit
101430a300
@ -152,7 +152,6 @@ func (r *SvcDiscoveryRegistryImpl) keepAliveLease(leaseID clientv3.LeaseID) {
|
|||||||
|
|
||||||
for ka := range ch {
|
for ka := range ch {
|
||||||
if ka != nil {
|
if ka != nil {
|
||||||
fmt.Printf("Received lease keep-alive response: %v\n", ka)
|
|
||||||
} else {
|
} else {
|
||||||
fmt.Printf("Lease keep-alive response channel closed\n")
|
fmt.Printf("Lease keep-alive response channel closed\n")
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user