Added sleep to workaround #814
This commit is contained in:
parent
1563d7555f
commit
7a171cf5ea
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue