Skip to content

Commit 02804ca

Browse files
committed
fix(ffi): Enable Event Log by default to support batch inserts
1 parent 5cc701a commit 02804ca

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ffi/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ impl ValoriEngine {
3030
fn new(path: String) -> PyResult<Self> {
3131
let mut config = NodeConfig::default();
3232
let wal_path = std::path::PathBuf::from(format!("{}/wal.log", path));
33+
let event_log_path = std::path::PathBuf::from(format!("{}/events.log", path));
3334
config.wal_path = Some(wal_path);
35+
config.event_log_path = Some(event_log_path);
3436

3537
// Ensure consistent configuration constants
3638
config.max_records = MAX_RECORDS;

0 commit comments

Comments
 (0)