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
- Migration from Cloud to Self-Hosted not ...
Hello Appwrite Community, I've got the problem, that when I try to migrate my Appwrite Project from the cloud to my self-hosted Appwrite, that an API Key is mi...
- I can't migrate my project from Appwrite...
I'm having an issue migrating my Appwrite project to a self-hosted instance. The problem is that I've exceeded my read rate limit (or database read limit), so I...
- 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...