Skip to content

Commit

Permalink
Fix pebble L0StopWritesThreshold
Browse files Browse the repository at this point in the history
  • Loading branch information
muXxer committed Aug 10, 2023
1 parent 9434517 commit 777ff56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/database/pebble.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func NewPebbleDB(directory string, reportCompactionRunning func(running bool), e
// sublevels. Writes are stopped when this threshold is reached.
//
// The default value is 12.
opts.L0StopWritesThreshold = 12
opts.L0StopWritesThreshold = 30

// The maximum number of bytes for LBase. The base level is the level which
// L0 is compacted into. The base level is determined dynamically based on
Expand Down

0 comments on commit 777ff56

Please sign in to comment.