0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

ircd::db: Fix comment; tweak universal compaction max width.

This commit is contained in:
Jason Volk 2020-09-14 14:13:58 -07:00
parent 1407d8451a
commit 121de5a6dc

View file

@ -2150,11 +2150,10 @@ ircd::db::database::column::column(database &d,
});
}
// Universal compaction options; these are unused b/c we don't use this
// style; they are here for hacking an experimentation for now.
// Universal compaction mode options
this->options.compaction_options_universal.size_ratio = 67;
this->options.compaction_options_universal.min_merge_width = 8;
this->options.compaction_options_universal.max_merge_width = 10;
this->options.compaction_options_universal.max_merge_width = 16;
this->options.compaction_options_universal.max_size_amplification_percent = 1000;
this->options.compaction_options_universal.compression_size_percent = -1;
this->options.compaction_options_universal.stop_style = rocksdb::kCompactionStopStyleTotalSize;