Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

204
Visualizações
Whats the quickest way to iterate through failed Bull.js jobs and delete them properly?

I have a problem with my video upload pipeline getting stalled and users looking at a "waiting" notification all the time. It is a video upload pipeline that converts the videos with ffmpeg and uploads to AWS. It seems that there are failed/stuck jobs in Bull.js and Im wondering the best way to delete them.

I have a setInterval function getting all jobs like so let j = await videoQueue.getJobs();. If iterate through each job in a loop, do I need to find the job in redis to remove it or do I just kill the job itself somehow? The job has a property: _progress: 'undefined;conversion error' which is specific to my application's error codes. Just... how do I get rid of the job peacefully to free it up for other jobs?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda