I am using Sequelize ORM for connecting databases using NODE JS and PostgreSQL. When I request concurrently to the server it's throwing an error ConnectionAcquireTimeoutError [SequelizeConnectionAcquireTimeoutError]: Operation timeout. So, I search it how to fix this issue. many of the given solutions to increase to acquire count or increase the connection pool count. is it the right solution?
Sequalize Config
pool: {
max: 5,
min: 0,
acquire: 30000,
idle: 10000
}
Sequelize Version : 6.6.2
When I increase the acquire count and connection pool count it's throwing same error