We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e32c79c commit ff2fcc2Copy full SHA for ff2fcc2
source/knexfile.ts
@@ -25,6 +25,9 @@ const knexConfig: Config = {
25
directory: join(__dirname, 'migrations')
26
},
27
pool: {
28
+ min: 1,
29
+ max: client === 'sqlite' ? 2 : 4,
30
+ acquireTimeoutMillis: 1000 * 5 * 60, // timeout 5 minutes
31
afterCreate: (conn, done) => {
32
if (client === 'sqlite') {
33
conn.run('PRAGMA foreign_keys = ON;', function (err) {
0 commit comments