Browse Source

reduc logs

pull/1318/head
Chris Lu 5 years ago
parent
commit
081ee6fe34
  1. 2
      weed/messaging/broker/broker_grpc_server_subscribe.go

2
weed/messaging/broker/broker_grpc_server_subscribe.go

@ -52,7 +52,7 @@ func (broker *MessageBroker) Subscribe(stream messaging_pb.SeaweedMessaging_Subs
go func() { go func() {
for isConnected { for isConnected {
if _, err := stream.Recv(); err != nil { if _, err := stream.Recv(); err != nil {
println("disconnecting connection to", subscriberId, tp.String())
// println("disconnecting connection to", subscriberId, tp.String())
isConnected = false isConnected = false
lock.cond.Signal() lock.cond.Signal()
} }

Loading…
Cancel
Save