Strapi/Postgresql connection terminated
Hello, i have an issue with strapi on production when no one visit the website for a long time when i go back on it and try to connect, i got an error (cf. picture) and then i have to wait and retry to connect on my frontend and it works
let me know if you need more information
4 Replies
Project ID:
N/A
set
pool.min
to 0
like so https://github.com/railwayapp-templates/strapi/blob/main/config/database.js#L12
this info is also in the strapi docs https://docs.strapi.io/dev-docs/configurations/database#database-pooling-optionsI miss that, thx Brody !
no problem!