What is the difference between `connectionTimeout` and `acquireTimeout` in Sequelize?

Responsive Ad Header

Question

Grade: Education Subject: Support
What is the difference between `connectionTimeout` and `acquireTimeout` in Sequelize?
Asked by:
85 Viewed 85 Answers
Responsive Ad After Question

Answer (85)

Best Answer
(291)
`connectionTimeout` specifies the time Sequelize will wait to establish a *new* connection to the database. `acquireTimeout` specifies the time Sequelize will wait to acquire a connection from the connection pool. If you're experiencing connection issues, adjusting both might be necessary.