mirror of
https://github.com/matrix-construct/construct
synced 2025-02-18 09:40:12 +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_if_missing = true;
|
||||||
opts.create_missing_column_families = true;
|
opts.create_missing_column_families = true;
|
||||||
opts.max_file_opening_threads = 0;
|
opts.max_file_opening_threads = 0;
|
||||||
|
opts.stats_dump_period_sec = 0;
|
||||||
|
opts.enable_thread_tracking = true;
|
||||||
//opts.allow_concurrent_memtable_write = true;
|
//opts.allow_concurrent_memtable_write = true;
|
||||||
//opts.enable_write_thread_adaptive_yield = false;
|
//opts.enable_write_thread_adaptive_yield = false;
|
||||||
//opts.max_background_jobs = 1;
|
//opts.max_background_jobs = 1;
|
||||||
//opts.use_fsync = true;
|
//opts.use_fsync = true;
|
||||||
|
|
||||||
|
#ifdef RB_DEBUG
|
||||||
|
opts.dump_malloc_stats = true;
|
||||||
|
#endif
|
||||||
|
|
||||||
// Setup env
|
// Setup env
|
||||||
opts.env = env.get();
|
opts.env = env.get();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue