Skip to content

Commit

Permalink
Increase the windows bookmark buffer. (grafana#3303)
Browse files Browse the repository at this point in the history
See this discussion grafana#3246 (comment)

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
  • Loading branch information
cyriltovena committed Feb 15, 2021
1 parent 1e7b145 commit 747ef55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/promtail/targets/windows/bookmark.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ type bookMark struct {
// newBookMark creates a new windows event bookmark.
// The bookmark will be saved at the given path. Use save to save the current position for a given event.
func newBookMark(path string) (*bookMark, error) {
// 4kb buffer for rendering bookmark
buf := make([]byte, 4<<10)
// 16kb buffer for rendering bookmark
buf := make([]byte, 16<<10)

_, err := fs.Stat(path)
// creates a new bookmark file if none exists.
Expand Down

0 comments on commit 747ef55

Please sign in to comment.