Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2016-05-19 20:36:02 +0300
committerYorick Peterse <yorickpeterse@gmail.com>2016-05-19 20:36:02 +0300
commitc22be75794e0843d1c5de9a15593ccefcc1c09dc (patch)
treeb70fa6f2a572ea8cb90cc822c98faf62eda15f31 /lib
parentdea36800066877e6d5aab036aa4417e68b37dca5 (diff)
Removed outdated comment from migration helpers
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/database/migration_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/database/migration_helpers.rb b/lib/gitlab/database/migration_helpers.rb
index 31a87b73fbe..9b662d163f0 100644
--- a/lib/gitlab/database/migration_helpers.rb
+++ b/lib/gitlab/database/migration_helpers.rb
@@ -47,7 +47,7 @@ module Gitlab
first['count'].
to_i
- # Update in batches of 5% with an upper limit of 5000 rows.
+ # Update in batches of 5%
batch_size = ((total / 100.0) * 5.0).ceil
while processed < total