Up max file compactions per run

Try and do more compaction work for each run
This commit is contained in:
Martin Sumner 2017-05-21 22:06:41 +01:00
parent 695638f34c
commit 2bbb504c02

View file

@ -95,7 +95,7 @@
-define(BATCH_SIZE, 32).
-define(BATCHES_TO_CHECK, 8).
%% How many consecutive files to compact in one run
-define(MAX_COMPACTION_RUN, 4).
-define(MAX_COMPACTION_RUN, 6).
%% Sliding scale to allow preference of longer runs up to maximum
-define(SINGLEFILE_COMPACTION_TARGET, 40.0).
-define(MAXRUN_COMPACTION_TARGET, 60.0).