I have a function that iterate over all users to get their emails, I'm calling this function with a pagination of 600 users (I tried lowering it to 100/200, it didn't fix anything). The function seems to work fine at the begining but a one moment, it just stops working and timeout (in the screenshot, it crashed at 16200 users)
It's like the function executor get overloaded but the function calls and just stops working (I'm on Appwrite cloud Pro tier)
Does the function needs more than 30 seconds to run?
What's the error you're getting?
The function need ~10 seconds for every run but sudently it spikes at 30 seconds and times out
on the last call:
Operation timed out after 30004 milliseconds with 0 bytes received with status code 0\nError Code: 0
Are you always returning a result with this?
return res.send();
Recommended threads
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...
- Appwrite console is too heavy
The Appwrite console is too heavy And all of my services broken Any support , please
- router_deployment_not_found
I updated my function a few times and now i am getting the error: router_deployment_not_found I even reverted back to my original code but i am still getting th...