We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61a80e1 commit 29157acCopy full SHA for 29157ac
crates/corro-types/src/sqlite.rs
@@ -183,13 +183,7 @@ static CRSQL_EXT_DIR: Lazy<TempDir> = Lazy::new(|| {
183
184
pub fn rusqlite_to_crsqlite_write(conn: rusqlite::Connection) -> rusqlite::Result<CrConn> {
185
let conn = rusqlite_to_crsqlite(conn)?;
186
- conn.execute_batch(
187
- "
188
- PRAGMA cache_size = -1048576; -- 1 GB (value in KiB, negative sign)
189
- PRAGMA temp_store = MEMORY;
190
- PRAGMA cache_spill = FALSE;
191
- ",
192
- )?;
+ conn.execute_batch("PRAGMA cache_size = -32000;")?;
193
194
Ok(conn)
195
}
0 commit comments