mitsy0_0Original post
Rank 2: Process
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
Summary
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.