Browse Source

auto update script executed

Toby Chui 1 year ago
parent
commit
3c39f6d4f9
1 changed files with 1 additions and 1 deletions
  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)