Make timeout longer

master
blank X 9 months ago
parent 586186a355
commit 5143666358
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
  1. 2
      main.go

@ -43,7 +43,7 @@ func main() {
os.Exit(1)
}
client := &http.Client{
Timeout: time.Duration(30 * time.Second),
Timeout: time.Duration(10 * time.Minute),
}
err = LoadConfigAndData()
if err != nil {