Explorar o código

auto update script executed

Toby Chui hai 1 ano
pai
achega
3c39f6d4f9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      mod/uptime/uptime.go

+ 1 - 1
mod/uptime/uptime.go

@@ -218,7 +218,7 @@ func getWebsiteStatusWithLatency(url string) (bool, int64, int) {
 
 func getWebsiteStatus(url string) (int, error) {
 	client := http.Client{
-		Timeout: 5 * time.Second,
+		Timeout: 10 * time.Second,
 	}
 
 	resp, err := client.Get(url)