Niko PLP 7 months ago
parent aca204d9e5
commit 41e2e7206e
  1. 2
      lib/oxigraph/src/storage/backend/oxi_rocksdb.rs

@ -255,7 +255,7 @@ impl Db {
!write_options.is_null(), !write_options.is_null(),
"rocksdb_writeoptions_create returned null" "rocksdb_writeoptions_create returned null"
); );
rocksdb_writeoptions_set_sync(write_options, 1); rocksdb_writeoptions_set_syc(write_options, 1);
if in_memory { if in_memory {
rocksdb_writeoptions_disable_WAL(write_options, 1); // No need for WAL rocksdb_writeoptions_disable_WAL(write_options, 1); // No need for WAL
} }

Loading…
Cancel
Save