mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-10 11:44:22 +01:00
fix after rename
This commit is contained in:
@@ -37,13 +37,13 @@ pub enum WalPushResult {
|
||||
|
||||
pub async fn connect(coro: &Coro, tape: &DatabaseTape) -> Result<Arc<turso_core::Connection>> {
|
||||
let conn = tape.connect(coro).await?;
|
||||
conn.wal_disable_checkpoint();
|
||||
conn.wal_auto_checkpoint_disable();
|
||||
Ok(conn)
|
||||
}
|
||||
|
||||
pub fn connect_untracked(tape: &DatabaseTape) -> Result<Arc<turso_core::Connection>> {
|
||||
let conn = tape.connect_untracked()?;
|
||||
conn.wal_disable_checkpoint();
|
||||
conn.wal_auto_checkpoint_disable();
|
||||
Ok(conn)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user