Postgres allows you to set properties like
deadlock_timeout which are very useful to avoid long queries crashing the DB.
More Postgres docs here: https://www.postgresql.org/docs/12/runtime-config.html
Is this something I can do in Render?
We have been experiencing some weird DB behavior lately right now there is no way to fix or debug with Render