Skip to content

Commit

Permalink
Merge pull request #91 from CBIIT/close-db-connections
Browse files Browse the repository at this point in the history
close connection pool
  • Loading branch information
n2iw authored Oct 5, 2023
2 parents 1e8d7b1 + 70211f9 commit 558de5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ cronJob.schedule(config.schedule_job, async () => {
await runDeactivateInactiveUsers(userService, notificationsService);
console.log("Running a scheduled background task to remind inactive application at " + getCurrentTime());
await dataInterface.remindApplicationSubmission();
await dbConnector.disconnect();
});
});

Expand Down

0 comments on commit 558de5d

Please sign in to comment.