Log closing connection of database
This commit is contained in:
parent
4ff8bc3357
commit
f50e9ae364
1 changed files with 2 additions and 0 deletions
|
@ -162,6 +162,8 @@ exports.processAll = async ({
|
||||||
} while (unprocessedMessages.length > 0);
|
} while (unprocessedMessages.length > 0);
|
||||||
|
|
||||||
await markMigrationComplete(connection);
|
await markMigrationComplete(connection);
|
||||||
|
|
||||||
|
console.log('Close database connection');
|
||||||
connection.close();
|
connection.close();
|
||||||
|
|
||||||
const totalDuration = Date.now() - migrationStartTime;
|
const totalDuration = Date.now() - migrationStartTime;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue