mirror of
https://github.com/livekit/livekit.git
synced 2026-10-22 17:32:23 +00:00
compute agent dispatch affinity from target load (#4442)
* compute agent dispatch affinity from target load * fix test config
This commit is contained in:
1 parent
8fe9937770
commit
88c77dc666
4 files changed
+19
-4
No files matched your search
@@ -40,7 +40,12 @@ type TestServer struct {
|
||||
func NewTestServer(bus psrpc.MessageBus) *TestServer {
|
||||
localNode, _ := routing.NewLocalNode(nil)
|
||||
return NewTestServerWithService(must.Get(service.NewAgentService(
|
||||
&config.Config{Region: "test"},
|
||||
&config.Config{
|
||||
Region: "test",
|
||||
Agents: agent.Config{
|
||||
TargetLoad: agent.DefaultTargetLoad,
|
||||
},
|
||||
},
|
||||
localNode,
|
||||
bus,
|
||||
auth.NewSimpleKeyProvider("test", "verysecretsecret"),
|
||||
|
||||
Reference in new issue
Block a user