From f50e9ae364023481461869839c09498d71d55f17 Mon Sep 17 00:00:00 2001 From: Daniel Gasienica Date: Wed, 28 Mar 2018 10:37:21 -0400 Subject: [PATCH] Log closing connection of database --- js/modules/messages_data_migrator.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/modules/messages_data_migrator.js b/js/modules/messages_data_migrator.js index 86bebcf36..f5d3301df 100644 --- a/js/modules/messages_data_migrator.js +++ b/js/modules/messages_data_migrator.js @@ -162,6 +162,8 @@ exports.processAll = async ({ } while (unprocessedMessages.length > 0); await markMigrationComplete(connection); + + console.log('Close database connection'); connection.close(); const totalDuration = Date.now() - migrationStartTime;