Hello Appwrite Community,
I set the timeout to 15 seconds on Appwrite Cloud, but the result still shows 5 seconds. Is this a bug or is it intended?
Kind Regards, Marius
Are you running it in async?
Hey there π Keep alive timeout is a geader for browsers to know when to hang up a request I believe. Appwtite isnt touching any headers so you have full freedom in what you build. My guess would be that this header comes vy default in http server library that we used to build runtime you are using.
To change this number, in res.send or res.json you can send 3rd parameter, which is object of all response headers you want and their values.
Timeout in function settings more connected to internal communication itself - allows you to ensure max durstion if 1 execution to let you better control usage (will be very useful when pricing is introduced on cloud)
Yes it runs in async, is this correct?
As Matej explained, the timeout being shown in the browser is not at all the function timeout
Thank you. Please mark as solved!
Btw, you can edit the title of your posts as well
[SOLVED] Timeout not applied correctly
Recommended threads
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...
- Deploy function not working - 503
Hellon i get this error message, when i try to deploy a new version of a function <html><body><h1>503 Service Unavailable</h1>No server is available to handle...
- Error When load the website
Hi, I am getting this error whenever I reload my website please help me, I am using react Error: ** GET https://cloud.appwrite.io/v1/account 401 (Unauthoriz...