Ver código fonte

Increase max stalled count in job queue

tags/v1.0.0-beta.10.pre.3
Chocobozzz 4 anos atrás
pai
commit
4a9e71c2b1
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 583A612D890159BE
1 arquivos alterados com 4 adições e 1 exclusões
  1. +4
    -1
      server/lib/job-queue/job-queue.ts

+ 4
- 1
server/lib/job-queue/job-queue.ts Ver arquivo

@@ -64,7 +64,10 @@ class JobQueue {
this.jobRedisPrefix = 'bull-' + CONFIG.WEBSERVER.HOST
const queueOptions = {
prefix: this.jobRedisPrefix,
redis: Redis.getRedisClient()
redis: Redis.getRedisClient(),
settings: {
maxStalledCount: 10 // transcoding could be long, so jobs can often be interrupted by restarts
}
}

for (const handlerName of Object.keys(handlers)) {


Carregando…
Cancelar
Salvar