Skip to content

Commit

Permalink
fix(coordinator): fix closing opened twice in points writer
Browse files Browse the repository at this point in the history
  • Loading branch information
chengshiwen committed Sep 8, 2024
1 parent 61d0b10 commit 6d1bfcc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion coordinator/points_writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ func (w *WritePointsRequest) AddPoint(name string, value interface{}, timestamp
// NewPointsWriter returns a new instance of PointsWriter for a node.
func NewPointsWriter() *PointsWriter {
return &PointsWriter{
closing: make(chan struct{}),
AllowOutOfOrderWrites: false,
WriteTimeout: DefaultWriteTimeout,
Logger: zap.NewNop(),
Expand Down

0 comments on commit 6d1bfcc

Please sign in to comment.