Skip to content

Commit df9cf58

Browse files
committed
Fix build index retry GetTimeoutBackouff
1 parent bd8a859 commit df9cf58

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)