From e99650a2620834a97a48376e299e56bf487dfdcf Mon Sep 17 00:00:00 2001 From: Vicente Ortega Torres Date: Tue, 4 Jul 2023 11:59:15 +0200 Subject: [PATCH] Update PerRetryTimeout to 30s --- output/cloud/expv2/output.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/output/cloud/expv2/output.go b/output/cloud/expv2/output.go index 439bb863eac..644b689556e 100644 --- a/output/cloud/expv2/output.go +++ b/output/cloud/expv2/output.go @@ -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, @@ -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,