Skip to content

Commit 319af7c

Browse files
committed
fix: bigger pool in sqlite
1 parent 57d7ef6 commit 319af7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/knexfile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const knexConfig: Config = {
2626
},
2727
pool: {
2828
min: 1,
29-
max: client === 'sqlite' ? 2 : 4,
29+
max: client === 'sqlite' ? 4 : 4,
3030
acquireTimeoutMillis: 1000 * 5 * 60, // timeout 5 minutes
3131
afterCreate: (conn, done) => {
3232
if (client === 'sqlite') {

0 commit comments

Comments
 (0)