Skip to content

Commit

Permalink
fix: legacy startJobProcessor (#1511)
Browse files Browse the repository at this point in the history
Fixes LBA-SERVER-33R
  • Loading branch information
moroine authored Sep 17, 2024
1 parent 2cf1c25 commit 3b613a9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions server/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@ import server from "./http/server"

async function startProcessor(signal: AbortSignal) {
logger.info(`Process jobs queue - start`)
if (config.env !== "local" && config.env !== "preview") {
await addJob({
name: "crons:init",
queued: true,
payload: {},
})
}

await startJobProcessor(signal)
logger.info(`Processor shut down`)
}
Expand Down

0 comments on commit 3b613a9

Please sign in to comment.