Skip to content

Commit e614a59

Browse files
authored
Update timeout information in functions documentation
Clarify timeout limits for asynchronous and synchronous functions.
1 parent de2c6f2 commit e614a59

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/routes/docs/products/functions/functions/+page.markdoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,13 @@ You can access environment variables inside functions using your [runtime langua
164164

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

169170
## Scopes {% #scopes %}
170171

171172
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.
172173

173174
{% arrow_link href="/docs/advanced/platform/api-keys#scopes" %}
174175
Learn more about scopes
175-
{% /arrow_link %}
176+
{% /arrow_link %}

0 commit comments

Comments
 (0)