refactor(pipeline-tasks): remove unused queue.

This commit is contained in:
Ivan 2021-03-27 15:34:08 +08:00
parent 713f5b2426
commit 08e5c7e7d3

View File

@ -19,12 +19,9 @@ import { PubSub } from 'apollo-server-express';
@Module({ @Module({
imports: [ imports: [
TypeOrmModule.forFeature([PipelineTask, Pipeline]), TypeOrmModule.forFeature([PipelineTask, Pipeline]),
BullModule.registerQueue( BullModule.registerQueue({
{
name: PIPELINE_TASK_QUEUE, name: PIPELINE_TASK_QUEUE,
}, }),
{ name: PIPELINE_TASK_LOG_QUEUE },
),
RedisModule, RedisModule,
ReposModule, ReposModule,
], ],