Skip to content

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

fix: remove warning on branching that services are not available (#27172)

Joel Lee8d81f0e1f0bd
diff --git a/apps/docs/content/guides/platform/branching.mdx b/apps/docs/content/guides/platform/branching.mdx
index 974c296a5a8..e8a2f18f231 100644
--- a/apps/docs/content/guides/platform/branching.mdx
+++ b/apps/docs/content/guides/platform/branching.mdx
@@ -22,15 +22,7 @@ If you understand Git, you already understand Supabase Branching.
Supabase Branching works with Git. You can test changes in a separate, temporary environment without affecting your production setup. When you're ready to ship your changes, merge your branch to update your production instance with the new changes.
-You can run multiple Preview Branches for every Supabase project. Branches contain all the Supabase features with their own API credentials. Preview Environments pause automatically after 5 minutes of inactivity.
-
-<Admonition type="caution" label="Some features may not work as expected on Preview Branches">
-
-Due to Preview Branches running on Fly Postgres instances, some features like `pg-cron` are not fully supported.
-
-For a full list of limitations, see [Fly Postgres limitations](/docs/guides/platform/fly-postgres#limitations).
-
-</Admonition>
+You can run multiple Preview Branches for every Supabase project. Branches contain all the Supabase features with their own API credentials. Preview Environments pause automatically after <SharedData data="config">branching.inactivity_period_in_minutes</SharedData> minutes of inactivity. Note that `pg_cron` executions will be impacted by inactivity related pausing.
<figure className="max-w-[700px] mx-auto">
<Image
diff --git a/packages/shared-data/config.ts b/packages/shared-data/config.ts
index 47817a2edd9..1a8a34ce50e 100644
--- a/packages/shared-data/config.ts
+++ b/packages/shared-data/config.ts
@@ -99,6 +99,11 @@ const config = {
},
},
},
+ branching: {
+ inactivity_period_in_minutes: {
+ value: 5,
+ },
+ },
} as const
export default config