So the PostgreSQL server was under really high load whenever the web worker was running, which affected all of the instance.
The solution was on the PostgreSQL side: https://pgtune.leopard.in.ua
Why is this step necessary? mstdn.io might not be the server where you are registered, so we need to redirect you to your home server first.
Don't have an account? You can sign up here