From c22be75794e0843d1c5de9a15593ccefcc1c09dc Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Thu, 19 May 2016 12:36:02 -0500 Subject: [PATCH] Removed outdated comment from migration helpers --- lib/gitlab/database/migration_helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- GitLab