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

No need to specify default values

This commit is contained in:
Roman Zeyde 2018-06-10 08:59:48 +03:00
parent 0a3df920cf
commit da489d53b0
No known key found for this signature in database
GPG key ID: 87CAE5FA46917CBB

View file

@ -39,7 +39,6 @@ impl DBStore {
let mut db_opts = rocksdb::Options::default();
db_opts.create_if_missing(true);
db_opts.set_compaction_style(rocksdb::DBCompactionStyle::Level);
db_opts.set_use_fsync(false);
db_opts.set_compression_type(rocksdb::DBCompressionType::Snappy);
db_opts.set_target_file_size_base(64 << 20);
db_opts.set_write_buffer_size(64 << 20);