supavisor
supavisor copied to clipboard
Better checkout timeout error message
Inspired by the Elixir DBConnection.ConnectionError
Pool checkout timeout error. Request was dropped after #{n}ms. This means requests are coming in and your connection pool cannot serve them fast enough. You can address this by:
1. Ensuring your database is available and that you can connect to it
2. Tracking down slow queries and making sure they are running fast enough
3. Increasing the pool_size (although this increases resource consumption)
4. Upgrading your database
Review the Supabase performance tuning guide for Postgres: https://supabase.com/docs/guides/platform/performance