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
- Helping in unblock my account
I deleted my Appwrite Cloud account that was linked via GitHub. Now I activated my GitHub Student Pack and want to sign up again using the same GitHub account, ...
- Not allowed permission to upsert a prese...
```js const presenceID = ID.unique(); setPID(presenceID); const presence = await presences.upsert({ presenceId: presenceID, status: "online"...
- Request for temporary 3 to 4 hours datab...
Hi Appwrite Team, I hope you are doing well.We are an early-stage startup currently running on Appwrite Cloud. We have unfortunately exhausted our database rea...