trying sync write

main
Niko PLP 7 months ago
parent b3ae51da82
commit aca204d9e5
  1. 1
      lib/oxigraph/src/storage/backend/oxi_rocksdb.rs

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

Loading…
Cancel
Save