Added indication of workaround for #814

This commit is contained in:
Juan Font 2022-09-21 14:47:48 +00:00
parent e87b470996
commit 95948e03c9

View file

@ -264,6 +264,8 @@ oidc:
for hostname, tailscale := range s.tailscales { for hostname, tailscale := range s.tailscales {
s.joinWaitGroup.Add(1) s.joinWaitGroup.Add(1)
go s.AuthenticateOIDC(headscaleEndpoint, hostname, tailscale) go s.AuthenticateOIDC(headscaleEndpoint, hostname, tailscale)
// TODO(juan): Workaround for https://github.com/juanfont/headscale/issues/814
time.Sleep(1 * time.Second) time.Sleep(1 * time.Second)
} }