supavisor icon indicating copy to clipboard operation
supavisor copied to clipboard

Better checkout timeout error message

Open chasers opened this issue 2 years ago • 0 comments

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

chasers avatar Oct 02 '23 17:10 chasers