Skip to content

Commit

Permalink
Double pg connections
Browse files Browse the repository at this point in the history
  • Loading branch information
IanPhilips committed Nov 5, 2024
1 parent 80f8295 commit 1a19ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/shared/src/supabase/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export function createSupabaseDirectClient(
// Although we don't yet know the cause, setting this timeout will limit the damage
// from these connections. We should figure out the cause ASAP.
idle_in_transaction_session_timeout: 15_000,
max: 20,
max: 40,
})
const pool = client.$pool
pool.on('connect', () => metrics.inc('pg/connections_established'))
Expand Down

0 comments on commit 1a19ab7

Please sign in to comment.