Browse Source

fix: temporarily use fallback queue for jobs

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/5608/head
mertmit 1 year ago
parent
commit
bc0fb659cc
  1. 8
      packages/nocodb/src/modules/jobs/jobs.service.ts

8
packages/nocodb/src/modules/jobs/jobs.service.ts

@ -11,9 +11,11 @@ export class JobsService {
@InjectQueue(JOBS_QUEUE) private readonly jobsQueue: Queue,
private readonly fallbackQueueService: QueueService,
) {
this.activeQueue = process.env.NC_REDIS_URL
? this.jobsQueue
: this.fallbackQueueService;
this.activeQueue = this.fallbackQueueService;
/* process.env.NC_REDIS_URL
? this.jobsQueue
: this.fallbackQueueService;
*/
}
async jobStatus(jobId: string) {

Loading…
Cancel
Save