Rank 3: Container
I have functions that run after one another. So an import server is running and creating a function execution. Then after it’s done it will wait 1 second before invoking the same function again with a new value. This is works for around 1 hour then it starts getting execution timed out errors. Very very strange…
It fails due to its invoking a db call inside the function to check if an existing document already exists. How can I fix this? It’s not an issue with the function since it works for a duration then starts getting execution timed out.
The cpu usage isn’t getting overloaded and a generous 1 second delay should not overload the executor. How can we solve this?