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
- Synchronous function execution timeout w...
I am calling server functions with xasync = true and I still get this error message. Synchronous function execution timed out. Use asynchronous execution inste...
- Flutter OAuth2 webAuth Bug?
I created with flutter an app where I can login in with my Microsoft Account. When I compile it to Web (WASM) or Android (aab) then there is no problem what so ...
- Function running for more than 2 hours i...
This is my projectID: 669fe01b003800dd0503 Cloud functionID is 696ea05400147eb8eb3b I hope this doesn't count against my GB-hours?