If encountering 504 or timeout errors in the Dashboard, check out this guide You can run this query to check the current settings set for your roles: SELECT rolname, rolconfig FROM pg_roles; To increase the statement_timeout for a specific role, you may follow the instructions here.