Skip to content

Commit

Permalink
reduced log volume
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianMct committed Apr 22, 2024
1 parent 61bfa83 commit a6c2026
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion protocols/protocols.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ func (p *Protocol) Aggregate(ctx context.Context, incoming <-chan Share) <-chan
continue
}
done, err = p.agg.put(share)
p.Logf("new share from %s, done=%v, err=%v", share.From, done, err)
//p.Logf("new share from %s, done=%v, err=%v", share.From, done, err)
if err != nil {
done = true // stops aggregating on error
}
Expand Down
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func (hsv *HeliumServer) Register(_ *pb.Void, stream pb.Helium_RegisterServer) e
done = true
hsv.Logf("error on stream send for %s: %s", nodeID, err)
}
hsv.Logf("sent to node %s: %v", nodeID, evt)
//hsv.Logf("sent to node %s: %v", nodeID, evt)
} else {
done = true
hsv.Logf("update queue for %s closed", nodeID)
Expand Down

0 comments on commit a6c2026

Please sign in to comment.