Skip to content

Commit 675c435

Browse files
authored
Merge pull request #253 from ydb-platform/fix-force-initial-timeout
Fixed repeater force initial timeout
2 parents 3c2b921 + 70c034c commit 675c435

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
* Fixed repeater initial force timeout from 500 to 0.5 second
2+
13
## v3.25.1
24
* Fixed bug with unexpected failing of call `Invoke` and `NewStream` on closed cluster
35
* Fixed bug with releasing `internal/conn/conn.Pool` in cluster

internal/repeater/repeater.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func (r *repeater) worker(ctx context.Context, interval time.Duration) {
140140

141141
// force returns backoff with delays [500ms...32s]
142142
force := backoff.New(
143-
backoff.WithSlotDuration(500*time.Second),
143+
backoff.WithSlotDuration(500*time.Millisecond),
144144
backoff.WithCeiling(6),
145145
backoff.WithJitterLimit(1),
146146
)

0 commit comments

Comments
 (0)