mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-17 04:05:22 +09:00
Expire the ephemeral nodes in the Serve method
This commit is contained in:
1 parent
9c2a630055
commit
4c849539fc
2 files changed
+2
-1
No files matched your search
@@ -21,7 +21,7 @@ var serveCmd = &cobra.Command{
|
||||
if err != nil {
|
||||
log.Fatalf("Error initializing: %s", err)
|
||||
}
|
||||
go h.ExpireEphemeralNodes(5000)
|
||||
|
||||
err = h.Serve()
|
||||
if err != nil {
|
||||
log.Fatalf("Error initializing: %s", err)
|
||||
|
||||
Reference in new issue
Block a user