console
console copied to clipboard
🐛 Bug Report: Unable to update function timeout beyond 900
👟 Reproduction steps
Head to the functions settings screen and try to update the function timeout beyond 900 seconds.
👍 Expected behavior
The function timeout is updated
👎 Actual Behavior
Timeout cannot be updated beyond 900 due to the limit being hardcoded in the console https://github.com/appwrite/console/blob/main/src/routes/console/project-%5Bproject%5D/functions/function-%5Bfunction%5D/settings/%2Bpage.svelte#L476
🎲 Appwrite version
Version 1.2.x
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
- [X] I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- [X] I have read the Code of Conduct
The max execution time of a function can be 900 seconds (15 minutes), I don't think appwrite wants users to go beyond that limit
for reference see this line https://github.com/appwrite/console/blob/af8453d75f64a2cf4a62a742904abeab6dd70cef/src/routes/console/project-%5Bproject%5D/functions/function-%5Bfunction%5D/settings/updateTimeout.svelte#L59C72-L59C75
@christyjacob4 we need to expose Appwrite's env variable so we can use it in the console. We should be able to add to all the others we get by listing variables