I would like to use this lib with a Postgre on AWS aurora serverless. Problem is that aurora serverless scales up at runtime so I need to tweak the max connections value to be able to utilize serverless as it scales up. Is this possible with tarn.js?
Looking at the code it seems like theoretically it could work like this:
const p = new Pool({max: 90}) // one ACU
// when scaling occurs
p.max = 180 // two ACUs
p.check()
is this assumption correct?