Under the hood
Self-hosted gateway now retries the Postgres connection up to 3 times at startup instead of failing immediately
What
A new retry wrapper, internally called Ote, has been added around the Postgres database connection that the self-hosted gateway makes while loading its configuration at startup. If the connection attempt fails with a connection-refused-style error, it is retried up to 3 times before the gateway gives up.
Why
This helps the gateway start up cleanly in cases where Postgres isn't quite ready yet (for example if the database container is still starting), instead of failing on the first attempt.