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

It's faster to let the aggressiveMerge run, than to run gentle merge.

parent 15f13e5b
No related branches found
No related tags found
No related merge requests found
......@@ -182,7 +182,9 @@ func checkMemoryUsage() {
} else {
// If merging is slow, we don't want to end up having too many goroutines
// merging the dirty list. This should keep them in check.
if mr.Count() > 25 {
// With a value of 12 and duration of 5 seconds, some goroutines are
// taking over a minute to finish.
if mr.Count() > 12 {
glog.Info("Skipping gentle merging.")
continue
}
......
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