Skip to content

Commit c64dc7a

Browse files
authored
Increased connection pool limits (#517)
closes https://linear.app/ghost/issue/AP-1069 - Increases connection pool limits. There were timeouts occuring due to connection pool being exhausted.
1 parent 862a246 commit c64dc7a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/db.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const client = Knex({
2020
},
2121
pool: {
2222
min: 1,
23-
max: 50,
23+
max: 200,
2424
},
2525
});
2626

src/db.unit.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ describe('Knex Configuration', () => {
1111
it('should have correct pool settings', () => {
1212
expect(client.client.pool).toMatchObject({
1313
min: 1,
14-
max: 50,
14+
max: 200,
1515
});
1616
});
1717
});

0 commit comments

Comments
 (0)