Bull.js jobs stalling despite timeout being set

Viewed 565

I have a Bull queue running lengthy video upload jobs which could take any amount of time from < 1 min up to many minutes.

The jobs stall after the default 30 seconds, so I increased the timeout to several minutes, but this is not respected. If I set the timeout to 10ms it immediately stalls, so it is taking timeout into account.

Job {
      opts: {
      attempts: 1,
      timeout: 600000,
      delay: 0,
      timestamp: 1634753060062,
      backoff: undefined
    }, 
    ...
}

Despite the timeout, I am receiving a stalled event, and the job starts to process again.

In other words it seems like it is ignoring the timeout.

What could be up here?

0 Answers
Related