Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Removes connection pooling from database component

Terry Sutton0e25e3d0b382
diff --git a/studio/pages/project/[ref]/settings/database.tsx b/studio/pages/project/[ref]/settings/database.tsx
index 1e0d64ae8f0..027f1362fa7 100644
--- a/studio/pages/project/[ref]/settings/database.tsx
+++ b/studio/pages/project/[ref]/settings/database.tsx
@@ -291,24 +291,6 @@ const DownloadCertificate: FC<any> = ({ createdAt }) => {
const GeneralSettings: FC<any> = ({ projectRef }) => {
const { data, error }: any = useSWR(`${API_URL}/props/project/${projectRef}/settings`, get)
- const { app } = useStore()
-
-
- useEffect(() => {
- console.log('fetchPoolingConfiguration()')
- fetchPoolingConfiguration()
- }, [])
-
- const fetchPoolingConfiguration = async () => {
- // setIsLoading(true)
- const response = await app.database.getPoolingConfiguration(projectRef)
- console.log('response is: ', response)
- // setPoolingConfiguration(response)
- // setIsLoading(false)
- }
-
-
-
if (data?.error || error) {
return (
<div className="p-6 mx-auto sm:w-full md:w-3/4 text-center">