what's the timeout for agent context shutdown call...
# ask-ai
f
what's the timeout for agent context shutdown callback?
t
Thanks for reaching out, Deo. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Just so you know, the default timeout for the agent context shutdown callback in LiveKit is 60 seconds. If the shutdown callbacks haven’t finished by then, the framework will gently but firmly end the agent process. But don’t worry—you can easily tweak this timeout using the
shutdown_process_timeout
parameter in
WorkerOptions
to fit your needs. Sources: Inside a session | LiveKit Docs | Inside a session | LiveKit Docs | Job lifecycle | LiveKit Docs | livekit-agents/livekit/agents/ipc/job_proc_lazy_main.py | WorkerOptions | LiveKit Agents