0
0
Fork 0
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:
Jason Volk 2018-08-22 13:13:03 -07:00
parent de973740e3
commit b964f9520f

View file

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