To be more specific, Functions have a cold start which means that the first time they are executed, They take some time to execute in contrast with the subsequent executions. But after some time the container is put to sleep/hibernation ? So what's the default time ?
From what I understand, between 60s and 1h.
You can configure the env variable: https://appwrite.io/docs/advanced/self-hosting/environment-variables#functions
_APP_FUNCTIONS_INACTIVE_THRESHOLD (default 60s)
In order to increase the sleep interval
Recommended threads
- Function global variables
when i create a top-level global variable in go or bun how will it behave? is the heap getting renewed on every execution or could i do some kind of temp. cachi...
- Appwrite Auth & Function don't reveal cl...
When I execute a function or sign in with my Flutter app, Appwrite does not show my real IP: instead, it seems that Appwrite shows Fastly CDN IP address.
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...