bitter-appointment-81509
10/30/2025, 10:05 AMtall-airline-16756
10/30/2025, 10:05 AMtall-airline-16756
10/30/2025, 10:05 AMagent_name. Here's a little insight to help clarify things! The system actually uses a cached dispatcher to boost performance, which is pretty neat. This cache is refreshed automatically in two key moments:
• After a time-to-live (TTL) of 1 minute passes.
• When an AgentRegistered update comes in, like when new agent workers register.
So, the great news is you don’t have to worry about manually clearing the cache when launching the same agent by name. LiveKit takes care of refreshing it for you, making the process smooth and hassle-free.
Sources: pkg/agent/client.go