Agus
Postgres drops connection when inactive, is this by default?
adonis uses lucid
https://github.com/adonisjs/lucid
26 replies
Postgres drops connection when inactive, is this by default?
Are you able to connect to the db externally when this happens?Yeah, the app eventually re-connects after we try to perform 1 request,
Are you pooling connections/prematurely releasing them ahead of next query?I'll have to do some digging because we are using a ORM to handle queries
Can you elaborate on what "drops the connection" mean here? What error are you seeing from your application? ^ anything in your database logs on Railway (database -> Logs tab) that would suggest it's dropping connections within similar timestamp ranges?
26 replies