Hello, I have a long running function that is meant to analyze and update ~100k entries into Appwrite.
The data is retrieved as a blob from another source and needs to be processed into various collections.
Running the function locally takes around 5 minutes, but I cannot get it to work on as a function on Appwrite as it times out after a minute with this message :
Internal curl errors has occurred within the executor! Error Number: 28. Error Msg: Operation timed out after 94004 milliseconds with 0 bytes received\nError Code: 500
Since there are thousands of calls, the entire program uses async calls with aiohttp, and I launch the execution with xasync=true.
Running the program locally on the appwrite sdk takes far longer (~20 minutes), but it works ok, indicating that the issue is not in the program itself.
Where should I look to solve the issue ?
Is it possible to create/update multiple documents with a single HTTP call ? I could then craft the appropriate response externally and import the data much faster.
Recommended threads
- Gitlab function automation
Im trying to automate my function deployment using gitlabs ci/cd pipeline. Im currently failing trying to use the appwrite cli to create a new deployment. ```...
- SSL for SaaS
Hi everyone 👋 I'm building a website builder SaaS using Appwrite Cloud Functions My architecture relies on users connecting their own custom domains via CNAME...
- User Limit Bug
How can I disable Appwrite client SDK registration? I have heard the solution to set the User Limit to 1. But everytime I set it to one it will automatically se...