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
- hi guys! my site is not accesible in my ...
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...
- Appwrite Functions cold start
Hello. I'm seeing really long cold starts on Appwrite Cloud Functions and wanted to know if this is expected. My function just authenticates the user, fetches ...