A few questions:
One option is to increase the inactivity threshold (there's an environment variable for it) to a value where the runtime container won't be removed.
Alright. What is the default inactivity threshold and how would I increase it? It seems weird to me that you have to stop things from being removed. In theory, people could have functions that are tiggered once a month but that doesn't mean that they want them to be unusable. Is there a way to make the container remove properly?
Another option is to have your function execute regularly (but don't do anything) so that it doesn't get considered as inactive.
Could I achieve this with a cron job then? Would it matter if the function execution failed when it was executed via CRON (because I wouldn't be able to pass in valid data probably).
Is there a way to setup some kind of monitoring that will notify me when functions are failing a lot? Wether they be my fault or the AppWrite/the server's (like a curl error), it would be good to know when vital functions aren't working right so that we can get ahead of the issue.
Again- I appreciate the help. Sorry if I came off as unpleasant the other day, I was just very annoyed that AppWrite was playing up because I felt bad for my client.