1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-10-17 20:05:55 +02:00

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 { 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)
time.Sleep(1 * time.Second)
} }
s.joinWaitGroup.Wait() s.joinWaitGroup.Wait()