diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-02-10 20:10:15 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-02-14 15:14:22 +0300 |
commit | ae93d08b9cf01b8a12a5f6cacbd9c89e87e54ac4 (patch) | |
tree | 65793266e04bf85093bf2436cd216b1dcee0950b /db | |
parent | 8aa1055fe3d24aa606f6a8d3c635f97b788e4e85 (diff) |
Disconnect the pool after done
Diffstat (limited to 'db')
-rw-r--r-- | db/post_migrate/20170206040400_remove_inactive_default_email_services.rb | 1 |
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 |