Skip to content

Commit 4543be8

Browse files
authored
Merge pull request #18264 from kunga/index-min-max-25-1
Fix build index retry GetTimeoutBackouff
2 parents 665f332 + df9cf58 commit 4543be8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/core/tx/datashard/upload_stats.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ struct TUploadRetryLimits {
7676
ui32 BackoffCeiling = 3;
7777

7878
TDuration GetTimeoutBackouff(ui32 retryNo) const {
79-
return TDuration::Seconds(1u << Max(retryNo, BackoffCeiling));
79+
return TDuration::Seconds(1u << Min(retryNo, BackoffCeiling));
8080
}
8181
};
8282

0 commit comments

Comments
 (0)