Skip to content

Commit

Permalink
Minor change to have the worker deployed.
Browse files Browse the repository at this point in the history
  • Loading branch information
valurefugl committed May 1, 2024
1 parent 78660fe commit 6638fc0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { CleanupService } from './cleanup.service'

export const worker = async () => {
try {
logger.info('Cleanup worker started.')
logger.info('Cleanup worker starting.')
const app = await NestFactory.createApplicationContext(CleanupWorkerModule)
app.enableShutdownHooks()
await app.get(CleanupService).run()
Expand Down

0 comments on commit 6638fc0

Please sign in to comment.