The first call to the functions takes between 15 and 30 seconds to be executed
- 0
- Self Hosted
- Flutter
- Functions

I have a very big problem with appwrite functions. I am using appwrite 1.6.0 and all the functions that I have have the same problem, in the first call they take between 15 and 30 seconds or sometimes more to execute, failing due to time out. And then you run it again and it works perfectly, they even make response times of less than 1 second. I don't know what to do to fix it, because of this the user experience of my application is very bad.

and another problem added to the timeout in the first execution, also sometimes it is related to the fetch failed bug. Something that causes it to give an error. It is not every time, but it usually happens at the same time.
Recommended threads
- ❗[Help] Function stuck in "waiting" stat...
Hi Appwrite team 👋 I'm trying to contribute to Appwrite and followed the official setup instructions from the CONTRIBUTING.md guide to run the platform locall...
- 1.7.0 Self Hosted Upgrade
Hi, I've tried a fresh install on 1.7.0 and I've also done a fresh install on 1.6.2. 1.6.2 is working fine fresh, update to 1.7.0 and migrate fails Fresh inst...
- deno 2 Cloud random errors
we have big problems with the functions. although we do not change anything in the function, we have the following random behaviour: - no scope permissions erro...
