mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
ircd::db: Tweak sundry open options.
This commit is contained in:
parent
b5dd434e7c
commit
bd4a16fab1
1 changed files with 6 additions and 0 deletions
|
@ -372,11 +372,17 @@ try
|
|||
opts.create_if_missing = true;
|
||||
opts.create_missing_column_families = true;
|
||||
opts.max_file_opening_threads = 0;
|
||||
opts.stats_dump_period_sec = 0;
|
||||
opts.enable_thread_tracking = true;
|
||||
//opts.allow_concurrent_memtable_write = true;
|
||||
//opts.enable_write_thread_adaptive_yield = false;
|
||||
//opts.max_background_jobs = 1;
|
||||
//opts.use_fsync = true;
|
||||
|
||||
#ifdef RB_DEBUG
|
||||
opts.dump_malloc_stats = true;
|
||||
#endif
|
||||
|
||||
// Setup env
|
||||
opts.env = env.get();
|
||||
|
||||
|
|
Loading…
Reference in a new issue