Skip to content

Commit

Permalink
fix: default timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Menci committed Sep 24, 2024
1 parent aaec71e commit 4c1bd52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@ func GetConfig() (*Config, error) {
} else {
c.Timeout = timeout
}
} else {
c.Timeout = 10 * time.Second
}

if c.Tailscale.AuthKey == "" {
Expand Down

0 comments on commit 4c1bd52

Please sign in to comment.