1
0
Fork 0
mirror of https://github.com/romanz/electrs.git synced 2025-02-24 06:57:53 +01:00

Settubg max_open_files doesn't seem to help with full compactions

This commit is contained in:
Roman Zeyde 2018-06-26 15:32:59 +03:00
parent 1c70addede
commit 4b008809ff
No known key found for this signature in database
GPG key ID: 87CAE5FA46917CBB

View file

@ -45,7 +45,6 @@ impl DBStore {
db_opts.set_target_file_size_base(64 << 20);
db_opts.set_write_buffer_size(64 << 20);
db_opts.set_disable_auto_compactions(opts.bulk_import);
db_opts.set_max_open_files(1024); // default ulimit value
let mut block_opts = rocksdb::BlockBasedOptions::default();
block_opts.set_block_size(256 << 10);