0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 02:02:38 +01:00

ircd::db: Use default auto value for ttl setting.

This commit is contained in:
Jason Volk 2020-08-05 21:53:53 -07:00
parent 72c46fa9f5
commit 439eafa59f

View file

@ -2107,7 +2107,7 @@ ircd::db::database::column::column(database &d,
this->options.num_levels = 7; this->options.num_levels = 7;
this->options.level0_file_num_compaction_trigger = 2; this->options.level0_file_num_compaction_trigger = 2;
this->options.level_compaction_dynamic_level_bytes = false; this->options.level_compaction_dynamic_level_bytes = false;
this->options.ttl = 0; //this->options.ttl = -2U;
#ifdef IRCD_DB_HAS_PERIODIC_COMPACTIONS #ifdef IRCD_DB_HAS_PERIODIC_COMPACTIONS
this->options.periodic_compaction_seconds = this->descriptor->compaction_period.count(); this->options.periodic_compaction_seconds = this->descriptor->compaction_period.count();
#endif #endif