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
- Accessing Database via Console
Hi everyone, I am running a self-hosted Appwrite v1.9.0 instance. When I click on one particular database in the Console, a loading indicator appears at the top...
- Apple OAuth2 settings auto-disable every...
Hello, I'm on Appwrite 1.8.1 at the moment. I'm using on prod Apple Oauth and it keeps disabling itself every night. I don't know where to look for the solutio...
- Sites settings shows ALL build runtimes
When looking at the build runtimes of site to update from node22 to node24, i saw that unlike the Functions the Sites shows ALL build runtimes, even non-install...