1
0
mirror of https://github.com/scsibug/nostr-rs-relay.git synced 2025-03-18 10:20:28 -04:00

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

@ -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 {