diff --git a/implementations/rust/ockam/ockam_node/src/storage/database/sqlx_database.rs b/implementations/rust/ockam/ockam_node/src/storage/database/sqlx_database.rs index 2fa7f525ff1..0f2c8368429 100644 --- a/implementations/rust/ockam/ockam_node/src/storage/database/sqlx_database.rs +++ b/implementations/rust/ockam/ockam_node/src/storage/database/sqlx_database.rs @@ -302,9 +302,11 @@ impl SqlxDatabase { let _ = connection .execute( r#" -PRAGMA synchronous = EXTRA; +PRAGMA synchronous = NORMAL; PRAGMA locking_mode = NORMAL; PRAGMA busy_timeout = 10000; +PRAGMA cache_size = -50000; -- 50 MB +PRAGMA mmap_size = 52428800; -- 50 MB "#, ) .await