R
RunPod8mo ago
AC_pill

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
flash-singh
flash-singh8mo ago
whats not working? idle timeout means after x seconds, the worker will be stopped, is that not happening?
AC_pill
AC_pillOP8mo ago
task takes 40 seconds, instead of staying up for 180 seconds up, it goes down after 40s
flash-singh
flash-singh8mo ago
per request spawn does not honor idle timeout, we will work on communicating that better only queue delay honors idle timeout
AC_pill
AC_pillOP8mo ago
ahhh ok, so If I add queue delay that will make the endpoint stay up for the whole period?
flash-singh
flash-singh8mo ago
yes
AC_pill
AC_pillOP8mo ago
Ha, perfect, back to normal, thanks @flash-singh
Want results from more Discord servers?
Add your server