Browse Source

fix: temporarily use fallback queue for jobs

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

4
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.activeQueue = this.fallbackQueueService;
/* process.env.NC_REDIS_URL
? this.jobsQueue
: this.fallbackQueueService;
*/
}
async jobStatus(jobId: string) {

Loading…
Cancel
Save