diff --git a/worker/job-handlers.ts b/worker/job-handlers.ts index 9a0f61675..802364dae 100644 --- a/worker/job-handlers.ts +++ b/worker/job-handlers.ts @@ -65,12 +65,6 @@ export function configureWorkerRoutes(app: Express) { app.post('/', async (req, res, next) => { const job = req.body as { name: string; chain: string; run?: boolean }; - // Worker only works when enabled - if (process.env.JOBS_ENABLED !== 'true') { - res.sendStatus(200); - return; - } - console.log(`Current jobqueue length: ${runningJobs.size}`); const chainId = job.chain; initRequestScopedContext();