internal/controld: bump send log timeout to 300s

This commit is contained in:
Cuong Manh Le
2025-01-10 09:44:06 +07:00
committed by Cuong Manh Le
parent 3713cbecc3
commit 087c1975e5

View File

@@ -176,7 +176,7 @@ func SendLogs(lr *LogsRequest, cdDev bool) error {
req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
transport := apiTransport(cdDev)
client := http.Client{
Timeout: 10 * time.Second,
Timeout: 300 * time.Second,
Transport: transport,
}
resp, err := client.Do(req)