Skip to content

Commit

Permalink
fix: remove browser instance remover
Browse files Browse the repository at this point in the history
  • Loading branch information
sosweetham committed May 5, 2024
1 parent 9dc74de commit 3a574dd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/src/libs/logger.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import chalk from 'chalk';
import { browserInstances } from './guilded-scrape';

function requestLogger(ctx: any) {
if (process.env.NODE_ENV === 'development') {
Expand Down Expand Up @@ -43,9 +42,6 @@ function bootLogger() {
const gracefulShutdown = async () => {
console.log(chalk.yellowBright('shutting down gracefully (5 seconds) ....'));
// disconnet DB and other services...
for (const browser of browserInstances) {
await browser.close();
}
setTimeout(() => {
console.log('good bye');
process.exit();
Expand Down

0 comments on commit 3a574dd

Please sign in to comment.