mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-25 01:07:52 +00:00
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…
x
Reference in New Issue
Block a user