Add explicit pool configuration to uplink
This commit is contained in:
parent
7796e3a265
commit
4e57668226
|
@ -14,6 +14,12 @@ const db : any = {};
|
||||||
const sequelize = new Sequelize(config.url, {
|
const sequelize = new Sequelize(config.url, {
|
||||||
logging: !!process.env.DB_TRACING,
|
logging: !!process.env.DB_TRACING,
|
||||||
dialect: 'postgres',
|
dialect: 'postgres',
|
||||||
|
pool: {
|
||||||
|
max: 10,
|
||||||
|
min: 1,
|
||||||
|
acquire: 30000,
|
||||||
|
idle: 10000
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
fs
|
fs
|
||||||
|
|
Loading…
Reference in New Issue