mirror of
https://github.com/Cameri/nostream.git
synced 2025-03-17 21:31:48 +01:00
fix: acq conn recommendation
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
This commit is contained in:
parent
5fb8c76a17
commit
0d530699a0
@ -29,7 +29,9 @@ export class AppWorker implements IRunnable {
|
||||
|
||||
private onError(error: Error) {
|
||||
if (error.name === 'TypeError' && error.message === "Cannot read properties of undefined (reading '__knexUid')") {
|
||||
console.error('Unable to acquire connection. Please increase DB_MAX_POOL_SIZE, ')
|
||||
console.error(
|
||||
'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.'
|
||||
)
|
||||
return
|
||||
}
|
||||
console.error('uncaught error:', error)
|
||||
|
Loading…
x
Reference in New Issue
Block a user