remove disco debugging printlns

This commit is contained in:
Travis 2021-02-01 22:28:43 -06:00
parent 629bfa3ac8
commit 91c0df29a1
No known key found for this signature in database
GPG key ID: 37080CC2042BA34E

View file

@ -570,7 +570,6 @@ func (s *Server) Open() error {
if err != nil {
return errors.Wrap(err, "starting DisCo")
}
fmt.Println("--- disco: open:", s.disCo.ID())
_ = initState
// Set node ID.
@ -661,8 +660,6 @@ func (s *Server) Close() error {
case <-s.closing:
return nil
default:
fmt.Println("--- disco: server close:", s.disCo.ID())
errE := s.executor.Close()
// Notify goroutines to stop.
@ -677,9 +674,7 @@ func (s *Server) Close() error {
}
errhs = s.syncer.stopTranslationSync()
if s.disCo != nil {
fmt.Println("--- disco: try close:", s.disCo.ID())
errd = s.disCo.Close()
fmt.Println("--- disco: closed", s.disCo.ID(), errd)
}
if s.holder != nil {
errh = s.holder.Close()