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
- Tips for Debugging Appwrite Functions Lo...
Hi everyone! 👋 I have an Appwrite Function running locally with Docker, but I’m struggling to debug it because execution doesn’t reach the breakpoints I set. ...
- AttributeError: 'Context' object has no ...
I'm getting an error executing my function. I'm not able to replicate this locally since I have to use a mock context. Is there a way to debug this kind of erro...
- SyntaxError: The requested module 'node-...
I am trying to use appwrite functions and in the function i am creating rows but i got this error when i executed the funtion. As i checked docs there TablesDB...