I have a function that syncs my documents from a collection using the cursor methods of first fetching the documents from appwrite and then syncing those to Typesense in batches.
Due to the amount of documents in my collection this execution takes longer than 15 minutes. How can I solve this?
If self-hosting, you can increase the timeout. See - https://appwrite.io/docs/advanced/self-hosting/environment-variables#functions
Variable - _APP_FUNCTIONS_TIMEOUT.
Change the env., restart the appwrite stack, and then you change the functions timout in the settings.
Amazing. Thanks!
no worries, lmk if you face any other issues. please also mark the question as [SOLVED] once the issue resolves.
happy appwriting :appwritepeepo:
Recommended threads
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...
- Console display all Databases as TablesD...
While looking at an issue with <@1231860789355347971> we saw that the console was displaying ALL databases as `TablesDB` even if the real type in the API is `le...