feat(coderd): expire agents from server tailnet (#9092)

This commit is contained in:
Colin Adler
2023-08-14 20:38:37 -05:00
committed by GitHub
parent a08f7b8fb9
commit 344d32b2f1
6 changed files with 161 additions and 41 deletions

View File

@ -407,6 +407,7 @@ func New(options *Options) *API {
return (*api.TailnetCoordinator.Load()).ServeMultiAgent(uuid.New()), nil
},
wsconncache.New(api._dialWorkspaceAgentTailnet, 0),
api.TracerProvider,
)
if err != nil {
panic("failed to setup server tailnet: " + err.Error())