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
- Large File Upload Issue with S3/RustFS
Hi, we are seeing a reproducible large upload failure with Appwrite 1.8.0 using S3-compatible storage through RustFS. A file upload of about 10.7 GB consistent...
- Terraform tablesdb_column type inconsist...
Hi, I am trying out the new terraform provider for appwrite that was introduced a few weeks back. As a first step I wanted to import our existing databases into...
- Self-hosted 1.9.0 — what's the canonical...
Self-hosted 1.9.0 — canonical way for functions to call the API on the same host? Setup: Go functions on self-hosted 1.9.0. Public domain via traefik, valid LE...