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/db
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-02-10 20:10:15 +0300
committerLin Jen-Shin <godfat@godfat.org>2017-02-14 15:14:22 +0300
commitae93d08b9cf01b8a12a5f6cacbd9c89e87e54ac4 (patch)
tree65793266e04bf85093bf2436cd216b1dcee0950b /db
parent8aa1055fe3d24aa606f6a8d3c635f97b788e4e85 (diff)
Disconnect the pool after done
Diffstat (limited to 'db')
-rw-r--r--db/post_migrate/20170206040400_remove_inactive_default_email_services.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/post_migrate/20170206040400_remove_inactive_default_email_services.rb b/db/post_migrate/20170206040400_remove_inactive_default_email_services.rb
index f3863881229..249a9e805f1 100644
--- a/db/post_migrate/20170206040400_remove_inactive_default_email_services.rb
+++ b/db/post_migrate/20170206040400_remove_inactive_default_email_services.rb
@@ -32,6 +32,7 @@ class RemoveInactiveDefaultEmailServices < ActiveRecord::Migration
end
threads.each(&:join)
+ pool.disconnect!
end
def down