Decrease client timeout to 30 seconds

This commit is contained in:
Xpl0itU 2024-04-01 19:21:35 +02:00 committed by GitHub
parent 09696e9d45
commit 49c6b84159
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,7 +48,7 @@ func main() {
t.MaxIdleConnsPerHost = 100
client := &http.Client{
Timeout: time.Duration(120) * time.Second,
Timeout: time.Duration(30) * time.Second,
Transport: t,
}