Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/routes/docs/products/functions/functions/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,13 @@ You can access environment variables inside functions using your [runtime langua

## Timeout {% #timeout %}
You can limit the execution time of your function by navigating to your function > **Settings** > **Timeout**.
There is a system wide maximum timeout of 900 seconds (15 minutes).
There is a system-wide maximum timeout of 900 seconds (15 minutes) for asynchronous functions.
For synchronous functions, there is a hard limit of 30 seconds.

## Scopes {% #scopes %}

You can configure the permission scopes for the function [dynamic API key](/docs/products/functions/develop#dynamic-api-key). The dynamic API key is automatically generated to access your project resources like users and buckets but can only be used inside of Appwrite functions. Navigate to your function > **Settings** > **Scopes** to configure your dynamic API key permission scopes.

{% arrow_link href="/docs/advanced/platform/api-keys#scopes" %}
Learn more about scopes
{% /arrow_link %}
{% /arrow_link %}
Loading