Dropping this here so I have something to reference while I try to fix the issue, but somewhere between v0.4.0 (tagged in March of 2022) and now a change has been made that seems to cause excessive database connections. Since Postgres is limited to 100 connections by default this causes connection refused errors if it spikes over that amount (which it is in our app).
If I had to guess this is probably related to concurrency changes added around d43a6a1.
Dropping this here so I have something to reference while I try to fix the issue, but somewhere between v0.4.0 (tagged in March of 2022) and now a change has been made that seems to cause excessive database connections. Since Postgres is limited to 100 connections by default this causes connection refused errors if it spikes over that amount (which it is in our app).
If I had to guess this is probably related to concurrency changes added around d43a6a1.