Skip to content
Snippets Groups Projects
Commit 60abe29e authored by Manish R Jain's avatar Manish R Jain
Browse files

Change ratio of dirty PL processing to 7%, now that we can handle it easily via async writes.

parent 66aa027e
No related branches found
No related tags found
No related merge requests found
......@@ -128,8 +128,8 @@ func gentlyMerge(mr *mergeRoutines) {
ctr := NewCounters()
defer ctr.ticker.Stop()
// Pick 5% of the dirty map or 400 keys, whichever is higher.
pick := int(float64(dirtymap.Size()) * 0.05)
// Pick 7% of the dirty map or 400 keys, whichever is higher.
pick := int(float64(dirtymap.Size()) * 0.07)
if pick < 400 {
pick = 400
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment