fix session util (#5780)

Signed-off-by: yefu.chen <yefu.chen@zilliz.com>
pull/5786/head
neza2017 2021-06-15 18:53:55 +08:00 committed by GitHub
parent 324f5d1df7
commit 96cb24e566
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -327,5 +327,5 @@ func (mr *MilvusRoles) Run(localMsg bool) {
syscall.SIGTERM,
syscall.SIGQUIT)
sig := <-sc
fmt.Printf("Get %s signal to exit", sig.String())
fmt.Printf("Get %s signal to exit\n", sig.String())
}

View File

@ -231,7 +231,7 @@ func (s *Session) processKeepAliveResponse(ch <-chan *clientv3.LeaseKeepAliveRes
close(failCh)
return
}
failCh <- true
//failCh <- true
}
}
}()