Niko PLP 6 months ago
parent 41e2e7206e
commit a4e2847810
  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_syc(write_options, 1); rocksdb_writeoptions_set_sync(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