Migration TImeout



I am currently setting up database on aws rds. But when I’m running migration (using ./ace migration:run), I got a timeout error.

‘TimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?’

I’m actually not sure whether it’s the rds settings, or maybe I need to set a longer timeout.

How can we set a longer timeout for migration run?
I’m using adonis 3.2.1



Sorry, turns out that it’s my rds settings…
I’m pretty newbie to this…