mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 23:59:08 +03:00
Temp check supavisor_enabled from connectionString
This commit is contained in:
1 parent
91f8673630
commit
9a759d1071
1 file changed
+7
-1
@@ -89,7 +89,13 @@ const ConnectionPooling = () => {
|
||||
) : (
|
||||
<PgbouncerConfig
|
||||
projectRef={projectRef}
|
||||
bouncerInfo={bouncerInfo}
|
||||
// [Joshen TODO] remove this check once API PR has been deployed:
|
||||
// https://github.com/supabase/infrastructure/pull/14173
|
||||
bouncerInfo={{
|
||||
...bouncerInfo,
|
||||
supavisor_enabled:
|
||||
poolingConfiguration.connectionString.includes('pooler.supabase.com'),
|
||||
}}
|
||||
connectionInfo={connectionInfo}
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user