Skip to content

Commit 6263cc6

Browse files
authored
Fix build index retry GetTimeoutBackouff
2 parents feb2d8f + 6c1b52f commit 6263cc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/core/tx/datashard/build_index.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ struct TUploadLimits {
163163
ui32 BackoffCeiling = 3;
164164

165165
TDuration GetTimeoutBackouff(ui32 retryNo) const {
166-
return TDuration::Seconds(1u << Max(retryNo, BackoffCeiling));
166+
return TDuration::Seconds(1u << Min(retryNo, BackoffCeiling));
167167
}
168168
};
169169

0 commit comments

Comments
 (0)