mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
internal/controld: bump send log timeout to 300s
This commit is contained in:
committed by
Cuong Manh Le
parent
3713cbecc3
commit
087c1975e5
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user