Shani Rosen
04/17/2025, 2:00 PM@bentoml.service(
traffic={"timeout": 10, "workers": 1},
)
then
@bentoml.api
def test(self):
time.sleep(30)
print("Hello")
return
I'm getting indeed a timeout after 10 seconds, but then in the server itself looks like the process is still running and after 30 seconds I see the "Hello", Anyone knows why that happens / how can I kill the process in the case of timeout?
Using bentoml 1.4.10
Thanks!Jian Shen Yap
04/17/2025, 6:44 PMShani Rosen
04/17/2025, 7:09 PMShani Rosen
04/17/2025, 7:09 PM