mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 07:09:07 +03:00
Merge branch 'master' of github.com:supabase/supabase
This commit is contained in:
commit
503a17de20
2 files changed
+6
-2
No files matched your search
@@ -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.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
clispec: '001'
|
||||
info:
|
||||
id: cli
|
||||
version: 1.219.2
|
||||
version: 1.223.7
|
||||
title: Supabase CLI
|
||||
language: sh
|
||||
source: https://github.com/supabase/cli
|
||||
|
||||
Reference in new issue
Block a user