Back

Update timeout

  • 1
  • Functions
mitsy0_0
2 Jun, 2023, 09:18

Hey Is there a way to add update timeout variable in function code itself? Like I can update the timeout from appwrite console, but whenever I deploy the function its value resets

TL;DR
To update the timeout value for a function in Appwrite, you need to edit the `timeout` property in the `appwrite.json` file located in the folder that contains the function folder. Modifying the `timeout` value in this file ensures that the timeout value remains updated even after deployment. Unfortunately, there is currently no way to update the timeout variable directly from the function code itself.
Binyamin
2 Jun, 2023, 11:59

Sure. Edit the timeout property inside the appwrite.json file in the folder that has the function folder with in it.

Doing so will make sure your timeout value will update when deployed

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more