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
- Clarity on Appwrite Messging
When using Appwrite messaging with FCM, do I need to include the user's firebaseToken in the createTarget object? If I omit the firebaseToken, will Appwrite sti...
- Can function events be triggered when de...
I am a developing an appwrite function locally. I am not sure how to add a trigger for bucket file creation events. I added in the appwrite.json into the events...
- Efficient Way to Perform Bulk Data Trans...
Hi everyone, I have a question about performing bulk data transformations efficiently in Appwrite. For example, let’s say I want to update all image URLs stored...