Skip to content

Commit 9b574fa

Browse files
authored
Update Default Backoff Settings (#1080)
1 parent 30070cf commit 9b574fa

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

internal/config/defaults.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ const (
4242
DefGRPCKeepAlivePermitWithoutStream = true
4343

4444
// Client Backoff defaults
45-
DefBackoffInitialInterval = 500 * time.Millisecond
45+
DefBackoffInitialInterval = 1 * time.Second
4646
DefBackoffRandomizationFactor = 0.5 // the value is 0 <= and < 1
47-
DefBackoffMultiplier = 1.5
48-
DefBackoffMaxInterval = 5 * time.Second
49-
DefBackoffMaxElapsedTime = 30 * time.Second
47+
DefBackoffMultiplier = 3
48+
DefBackoffMaxInterval = 20 * time.Second
49+
DefBackoffMaxElapsedTime = 1 * time.Minute
5050

5151
// Watcher defaults
5252
DefInstanceWatcherMonitoringFrequency = 5 * time.Second

test/docker/load/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,6 @@ RUN chmod -R +x ./build
9494

9595
WORKDIR /agent/test/load
9696

97-
RUN go test -v -timeout 30s ./...
97+
RUN go test -v -timeout 1m ./...
9898

9999
CMD ["sh", "-c", "cat benchmarks.json"]

0 commit comments

Comments
 (0)