Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
justraman committed Dec 3, 2024
1 parent a531fdf commit 4e4a49f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/job-handlers/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { traitsQueue } from '../jobs/compute-traits'
import { fetchCollectionExtraQueue } from '../jobs/fetch-collection-extra'
import { invalidateExpiredListings } from '../jobs/invalidate-expired-listings'
import { rarityQueue } from '../jobs/rarity-ranker'
import { deleteTraitsQueue } from '../jobs/delete-traits'

async function main() {
if (!connection.isInitialized) {
Expand All @@ -36,7 +35,6 @@ async function main() {
fetchBalanceQueue.process(5, `${__dirname}/fetch-balance.js`)
fetchCollectionExtraQueue.process(5, `${__dirname}/fetch-collection-extra.js`)
invalidateExpiredListings.process(1, `${__dirname}/invalidate-expired-listings.js`)
deleteTraitsQueue.process(1, `${__dirname}/delete-traits.js`)

traitsQueue.on('global:failed', (job, err) => {
throwError(`traitsQueue:Job ${job.id} failed with error: ${err.message}`, 'warning')
Expand Down

0 comments on commit 4e4a49f

Please sign in to comment.