mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 11:52:10 +08:00
Add etcd as a service discovery mechanism
This commit is contained in:
parent
479a64500e
commit
d1637fa118
@ -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