diff --git a/src/models/index.ts b/src/models/index.ts index 7a36786..08468c0 100644 --- a/src/models/index.ts +++ b/src/models/index.ts @@ -14,6 +14,12 @@ const db : any = {}; const sequelize = new Sequelize(config.url, { logging: !!process.env.DB_TRACING, dialect: 'postgres', + pool: { + max: 10, + min: 1, + acquire: 30000, + idle: 10000 + }, }); fs