summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-02-11 01:10:15 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-02-14 20:14:22 +0800
commitae93d08b9cf01b8a12a5f6cacbd9c89e87e54ac4 (patch)
tree65793266e04bf85093bf2436cd216b1dcee0950b
parent8aa1055fe3d24aa606f6a8d3c635f97b788e4e85 (diff)
downloadgitlab-ce-ae93d08b9cf01b8a12a5f6cacbd9c89e87e54ac4.tar.gz
Disconnect the pool after done
-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