improvement: reduce number of writer blocking threads from 4->2

This commit is contained in:
Greg Heartsfield 2022-12-18 22:32:31 -06:00
parent af92561ef6
commit 6f7c080180

View File

@ -116,7 +116,7 @@ pub async fn db_writer(
&settings, &settings,
OpenFlags::SQLITE_OPEN_READ_WRITE | OpenFlags::SQLITE_OPEN_CREATE, OpenFlags::SQLITE_OPEN_READ_WRITE | OpenFlags::SQLITE_OPEN_CREATE,
1, 1,
4, 2,
false, false,
); );
if settings.database.in_memory { if settings.database.in_memory {