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:
parent
72c46fa9f5
commit
439eafa59f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue