Added sleep to workaround #814

This commit is contained in:
Juan Font 2022-09-20 20:54:58 +00:00
parent 1563d7555f
commit 7a171cf5ea

View file

@ -264,6 +264,7 @@ oidc:
for hostname, tailscale := range s.tailscales {
s.joinWaitGroup.Add(1)
go s.AuthenticateOIDC(headscaleEndpoint, hostname, tailscale)
time.Sleep(1 * time.Second)
}
s.joinWaitGroup.Wait()