
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
- Cannot find module failure
Sorry, Newbe question here. I just installed Appwrite and am trying to install my first Function an am having absolutely no luck what-so-ever getting this done...
- Email Verification Email
Hi everyone, I’m currently experiencing an issue with the email verification functionality. When I trigger the verification, the request returns a valid respon...
- Appwrite Cloud Custom Domains Issue
I’m trying to configure my custom domain api.kondri.lt (CNAME pointing to appwrite.network., also tried fra.cloud.appwrite.io with no luck ) but encountering a ...
