Skip to content

Commit

Permalink
Update PerRetryTimeout to 30s
Browse files Browse the repository at this point in the history
  • Loading branch information
vortegatorres committed Jul 4, 2023
1 parent a0d8288 commit e99650a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions output/cloud/expv2/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (o *Output) Start() error {

insightsClientConfig := insights.ClientConfig{
IngesterHost: o.config.TracesHost.ValueOrZero(),
Timeout: types.NewNullDuration(1*time.Minute, false),
Timeout: types.NewNullDuration(90*time.Second, false),
AuthConfig: insights.ClientAuthConfig{
Enabled: true,
TestRunID: testRunID,
Expand All @@ -138,7 +138,7 @@ func (o *Output) Start() error {
RetryConfig: insights.ClientRetryConfig{
RetryableStatusCodes: "UNKNOWN,INTERNAL,UNAVAILABLE,DEADLINE_EXCEEDED",
MaxAttempts: 5,
PerRetryTimeout: 5 * time.Second,
PerRetryTimeout: 30 * time.Second,
BackoffConfig: insights.ClientBackoffConfig{
Enabled: true,
JitterFraction: 0.1,
Expand Down

0 comments on commit e99650a

Please sign in to comment.