Skip to content

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

chore: update background tasks guide (#30481)

Lakshan Pereraa37c91c9e598
diff --git a/apps/docs/content/guides/functions/background-tasks.mdx b/apps/docs/content/guides/functions/background-tasks.mdx
index 7eb79415be5..fbc1f2aebf8 100644
--- a/apps/docs/content/guides/functions/background-tasks.mdx
+++ b/apps/docs/content/guides/functions/background-tasks.mdx
@@ -8,7 +8,11 @@ tocVideo: 'rSKBTJxG9VA'
Edge Function instances can process background tasks outside of the request handler. Background tasks are useful for asynchronous operations like uploading a file to Storage, updating a database, or sending events to a logging service. You can respond to the request immediately and leave the task running in the background.
-A background task can run until the Edge Function instance hits its [wall-clock limit](/docs/guides/functions/limits).
+### How long a background task can run
+
+A background task can run until the Edge Function instance hits its wall-clock limit or reaches CPU/Memory limit. Check [limits](/docs/guides/functions/limits) for current caps.
+
+### Example
Here's an example of defining a background task using a custom event.