mirror of
https://github.com/matrix-construct/construct
synced 2024-09-27 19:28:52 +02:00
ircd::db: max_open_files must NOT be 0 or files are open/close too often.
This commit is contained in:
parent
de973740e3
commit
b964f9520f
1 changed files with 1 additions and 1 deletions
|
@ -705,7 +705,7 @@ try
|
|||
opts.max_background_flushes = 1;
|
||||
opts.max_background_compactions = 1;
|
||||
opts.max_subcompactions = 1;
|
||||
opts.max_open_files = 0; //ircd::info::rlimit_nofile / 4;
|
||||
opts.max_open_files = -1; //ircd::info::rlimit_nofile / 4;
|
||||
//opts.allow_concurrent_memtable_write = true;
|
||||
//opts.enable_write_thread_adaptive_yield = false;
|
||||
opts.use_direct_reads = true;
|
||||
|
|
Loading…
Reference in a new issue