Daniell
10/26/2021, 7:46 AMTimed out fetching a new connection from the connection pool. (More info: <http://pris.ly/d/connection-pool>, Current connection limit: 3)
Ryan
10/26/2021, 7:51 AMDaniell
10/26/2021, 7:53 AMRyan
10/26/2021, 8:44 AMDaniell
10/26/2021, 8:46 AMRyan
10/26/2021, 11:41 AMDaniell
10/26/2021, 11:53 AMDaniell
10/26/2021, 11:55 AMRyan
10/26/2021, 12:02 PMDaniell
10/26/2021, 12:04 PMRyan
10/26/2021, 12:06 PMRyan
10/26/2021, 12:07 PMprisma.$disconnect()
on a SIGINT or SIGTERM so when instances are killed, the connection is also closed.Daniell
10/26/2021, 12:11 PMDaniell
10/26/2021, 12:25 PMprocess.on("SIGTERM", async () => {
await prisma.$disconnect()
})
And restarted RDS instance, also added ?connection_limit=5
sorry deployment is still in progress, I'll check afterDaniell
10/26/2021, 2:17 PM