Skip to content

Commit 8759dd9

Browse files
committed
Stop busy timeouts, if too many requests/sec
1 parent 87860ff commit 8759dd9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/db.ts

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const sqlitePerfParams = {
1818
mmap_size: 134217728, // 128 megabytes
1919
journal_size_limit: 67108864, // 64 megabytes
2020
cache_size: 2000,
21+
busy_timeout: 30000,
2122
};
2223

2324
for (const [key, value] of Object.entries(sqlitePerfParams)) {

0 commit comments

Comments
 (0)