From 08e5c7e7d39c816c16a8f336957f3079e4911d6f Mon Sep 17 00:00:00 2001 From: Ivan Date: Sat, 27 Mar 2021 15:34:08 +0800 Subject: [PATCH] refactor(pipeline-tasks): remove unused queue. --- src/pipeline-tasks/pipeline-tasks.module.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/pipeline-tasks/pipeline-tasks.module.ts b/src/pipeline-tasks/pipeline-tasks.module.ts index bd68450..db8a453 100644 --- a/src/pipeline-tasks/pipeline-tasks.module.ts +++ b/src/pipeline-tasks/pipeline-tasks.module.ts @@ -19,12 +19,9 @@ import { PubSub } from 'apollo-server-express'; @Module({ imports: [ TypeOrmModule.forFeature([PipelineTask, Pipeline]), - BullModule.registerQueue( - { - name: PIPELINE_TASK_QUEUE, - }, - { name: PIPELINE_TASK_LOG_QUEUE }, - ), + BullModule.registerQueue({ + name: PIPELINE_TASK_QUEUE, + }), RedisModule, ReposModule, ],