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
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- [SOLVED] Unable to push function from AP...
When trying to push functions from Gitlab CI (with an API KEY and using the CLI), i saw that i was unable to push functions. ``` $ appwrite client --endpoint $...
- Appwrite Functions not executing with a ...
I have multiple functions running with a CRON Job however, they all stopped executing around 35 mins ago from this post. Project ID:6a4a03920012bede992d Region:...