0
0
Fork 0
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:
Jason Volk 2018-04-12 22:46:33 -07:00
parent b5dd434e7c
commit bd4a16fab1

View file

@ -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();