From 6f7c080180a2b8e8821ad9839b3254b730c96b3e Mon Sep 17 00:00:00 2001 From: Greg Heartsfield Date: Sun, 18 Dec 2022 22:32:31 -0600 Subject: [PATCH] improvement: reduce number of writer blocking threads from 4->2 --- src/db.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db.rs b/src/db.rs index 06e6b03..4f5e1da 100644 --- a/src/db.rs +++ b/src/db.rs @@ -116,7 +116,7 @@ pub async fn db_writer( &settings, OpenFlags::SQLITE_OPEN_READ_WRITE | OpenFlags::SQLITE_OPEN_CREATE, 1, - 4, + 2, false, ); if settings.database.in_memory {