Skip to content

Commit

Permalink
fix: increasing default marketo bulk upload timeout (#3940)
Browse files Browse the repository at this point in the history
fix: increasing default marketo upload timeout
  • Loading branch information
shrouti1507 committed Oct 5, 2023
1 parent 6da163b commit bd9166b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func (b *MarketoBulkUploader) Upload(asyncDestStruct *common.AsyncDestinationStr
startTime := time.Now()
payloadSizeStat.Observe(float64(len(payload)))
b.logger.Debugf("[Async Destination Manager] File Upload Started for Dest Type %v", destType)
responseBody, statusCodeHTTP := misc.HTTPCallWithRetryWithTimeout(url, payload, config.GetDuration("HttpClient.marketoBulkUpload.timeout", 30, time.Second))
responseBody, statusCodeHTTP := misc.HTTPCallWithRetryWithTimeout(url, payload, config.GetDuration("HttpClient.marketoBulkUpload.timeout", 10, time.Minute))
b.logger.Debugf("[Async Destination Manager] File Upload Finished for Dest Type %v", destType)
uploadTimeStat.Since(startTime)
var bodyBytes []byte
Expand Down

0 comments on commit bd9166b

Please sign in to comment.