mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: update conn derpmap every 5s in single tailnet (#9176)
This commit is contained in:
+1
-1
@@ -404,7 +404,7 @@ func New(options *Options) *API {
|
||||
api.agentProvider, err = NewServerTailnet(api.ctx,
|
||||
options.Logger,
|
||||
options.DERPServer,
|
||||
options.BaseDERPMap,
|
||||
api.DERPMap,
|
||||
func(context.Context) (tailnet.MultiAgentConn, error) {
|
||||
return (*api.TailnetCoordinator.Load()).ServeMultiAgent(uuid.New()), nil
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user