1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-06-27 16:35:59 +00:00

add warning if calculated event id != requested event id

This commit is contained in:
Timo Kösters 2021-08-28 19:35:15 +02:00 committed by Jonas Zohren
parent 4ce02e8ff6
commit 4ede0dc2d9
3 changed files with 76 additions and 12 deletions

View file

@ -93,9 +93,8 @@ impl Engine {
}
pub fn flush_wal(self: &Arc<Self>) -> Result<()> {
// We use autocheckpoints
//self.write_lock()
//.pragma_update(Some(Main), "wal_checkpoint", &"TRUNCATE")?;
self.write_lock()
.pragma_update(Some(Main), "wal_checkpoint", &"TRUNCATE")?;
Ok(())
}
}