0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-20 00:33:15 +01:00

ircd::db: Some auto-compaction hard values for now.

This commit is contained in:
Jason Volk 2018-09-19 00:12:55 -07:00
parent c53e02428d
commit 3abfb6b949

View file

@ -1482,9 +1482,11 @@ ircd::db::database::column::column(database *const &d,
//TODO: descriptor / conf //TODO: descriptor / conf
this->options.num_levels = 8; this->options.num_levels = 8;
this->options.target_file_size_base = 64_MiB; this->options.level0_file_num_compaction_trigger = 1;
this->options.target_file_size_multiplier = 4; // size at level this->options.target_file_size_base = 128_MiB;
this->options.level0_file_num_compaction_trigger = 2; this->options.max_bytes_for_level_base = 192_MiB;
this->options.target_file_size_multiplier = 2; // size at level
this->options.max_bytes_for_level_multiplier = 2; // size at level
log::debug log::debug
{ {