Skip to content

Commit

Permalink
fix: enable shutdown hooks for graceful exit
Browse files Browse the repository at this point in the history
  • Loading branch information
bddvlpr committed Jan 28, 2024
1 parent c63ffdb commit a958286
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ async function bootstrap() {
),
);

app.enableShutdownHooks();

await app.listen(3000);
}
bootstrap();

0 comments on commit a958286

Please sign in to comment.