Skip to content

Commit 64d04ae

Browse files
committed
Return request data to the pool in Ingester.Push()
Signed-off-by: Bryan Boreham <[email protected]>
1 parent 5699e81 commit 64d04ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/ingester/ingester.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ func (i *Ingester) Push(ctx old_ctx.Context, req *client.WriteRequest) (*client.
279279
return nil, err
280280
}
281281
}
282+
client.ReuseSlice(req.Timeseries)
282283

283284
return &client.WriteResponse{}, lastPartialErr
284285
}

0 commit comments

Comments
 (0)