Idle timeout not working
Hi team.
I'm setting my serverless endpoint with a Idle timeout for 180 seconds, but it's idleing or sleeping back after the task is done.
It was working before, and this is hard to debug, does anyone has any experience on that?
How can I debug this, as it's outside the handler.
notes:
- I didn't add Maximum execution time out.
- I added Per request, spawn
6 Replies
whats not working? idle timeout means after x seconds, the worker will be stopped, is that not happening?
task takes 40 seconds, instead of staying up for 180 seconds up, it goes down after 40s
per request spawn does not honor idle timeout, we will work on communicating that better
only queue delay honors idle timeout
ahhh
ok, so If I add queue delay that will make the endpoint stay up for the whole period?
yes
Ha, perfect, back to normal, thanks @flash-singh