Commit 4a226bf6 authored by Alex Kalderimis's avatar Alex Kalderimis Committed by Alex Kalderimis

Apply 1 suggestion(s) to 1 file(s)

parent 96b6dc2a
......@@ -28,7 +28,7 @@ class IssueRebalancingService
ratio = 0.5
while gap_size < RelativePositioning::MIN_GAP && ratio < 1
gap_size = (ratio * Gitlab::Database::MAX_INT_VALUE) / (gaps / 2)
gap_size = (ratio * RelativePositioning::MAX_POSITION) / (gaps / 2)
ratio += 0.1
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment