Skip to content

Commit 0d53069

Browse files
committed
fix: acq conn recommendation
Signed-off-by: Ricardo Arturo Cabral Mejía <[email protected]>
1 parent 5fb8c76 commit 0d53069

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app/worker.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ export class AppWorker implements IRunnable {
2929

3030
private onError(error: Error) {
3131
if (error.name === 'TypeError' && error.message === "Cannot read properties of undefined (reading '__knexUid')") {
32-
console.error('Unable to acquire connection. Please increase DB_MAX_POOL_SIZE, ')
32+
console.error(
33+
'Unable to acquire connection. Please increase DB_MAX_POOL_SIZE, DB_ACQUIRE_CONNECTION_TIMEOUT and tune postgresql.conf to make use of server\'s resources.'
34+
)
3335
return
3436
}
3537
console.error('uncaught error:', error)

0 commit comments

Comments
 (0)