Skip to content

Commit c9dd17d

Browse files
committed
Lint
1 parent eed0648 commit c9dd17d

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

src/cron.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ async function registerAndBackfillItems(details: {
209209
const {
210210
ctx,
211211
pgPool,
212-
events,
213212
cron,
214213
workerSchema,
215214
preparedStatements,

src/main.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,6 @@ export function runTaskListInternal(
266266
): WorkerPool {
267267
const ctx = compiledSharedOptions;
268268
const {
269-
events,
270269
logger,
271270
resolvedPreset: {
272271
worker: { minResetLockedInterval, maxResetLockedInterval },
@@ -594,7 +593,7 @@ export function _runTaskList(
594593
} = options;
595594

596595
let autostart = rawAutostart;
597-
const { logger, events, middleware } = compiledSharedOptions;
596+
const { logger, middleware } = compiledSharedOptions;
598597

599598
if (ENABLE_DANGEROUS_LOGS) {
600599
logger.debug(

src/worker.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ export function makeNewWorker(
5050
failJob,
5151
} = params;
5252
const {
53-
events,
5453
resolvedPreset: {
5554
worker: { pollInterval },
5655
},

0 commit comments

Comments
 (0)