rgmvisser
Should I switch to the new way of deploying Postgres & Redis?
I am still using the Postgres and Redis plugins, is it recommended to move them over to the new way of deploying services with a mounted volume?
Project 9e28999f-05b9-4b5c-9caf-7a1d7bd55312
5 replies
idle_in_transaction_session_timeout for idle connections
I have the following problem where some of my DB connections become IDLE and prisma is not cleaning them up nicely for some reason. I want to set SET SESSION idle_in_transaction_session_timeout = '5min'; in postgres to automatically clean these up in case they get stale. Any reason why I should not change this session timeout from unlimited (0) to 5 min?
4 replies
Catch Sigterm NodeJS
When deploying a new version, I see the following in my console:
I would like to catch this signal to make sure I gracefully shutdown the service. However, when I try to catch the SIGTERM it doesn't seem to get fired in my process (log line doesn't show up)?
Is there something else I am missing?
Project id: 9e28999f-05b9-4b5c-9caf-7a1d7bd55312
10 replies