Log closing connection of database

This commit is contained in:
Daniel Gasienica 2018-03-28 10:37:21 -04:00
parent 4ff8bc3357
commit f50e9ae364

View file

@ -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;