I have deployed cloud function in my self-hosted appwrite. When i call that function, i get the Operation timed out... error. Basically i tried to get list of documents and currently there are only two document in that collection. It works fine with sync functions.
TL;DR
Issue: The user is encountering an "Operation timed out" error when calling an async function in their self-hosted Appwrite app. The function is attempting to retrieve a list of documents from a collection, which currently only has two documents. The sync functions work fine.
Solution: This issue may be caused by the async function taking too long to execute. Try increasing the timeout interval to see if that resolves the issue. It may also be helpful to optimize the async function code to improve performance.