Browse Source

feat: registered bull-board for data-gathering.module

pull/5800/head
tanbirali 1 week ago
parent
commit
7be5a507c9
  1. 6
      apps/api/src/services/queues/data-gathering/data-gathering.module.ts

6
apps/api/src/services/queues/data-gathering/data-gathering.module.ts

@ -9,6 +9,8 @@ import { DataGatheringService } from '@ghostfolio/api/services/queues/data-gathe
import { SymbolProfileModule } from '@ghostfolio/api/services/symbol-profile/symbol-profile.module';
import { DATA_GATHERING_QUEUE } from '@ghostfolio/common/config';
import { BullAdapter } from '@bull-board/api/bullAdapter';
import { BullBoardModule } from '@bull-board/nestjs';
import { BullModule } from '@nestjs/bull';
import { Module } from '@nestjs/common';
import ms from 'ms';
@ -24,6 +26,10 @@ import { DataGatheringProcessor } from './data-gathering.processor';
},
name: DATA_GATHERING_QUEUE
}),
BullBoardModule.forFeature({
name: DATA_GATHERING_QUEUE,
adapter: BullAdapter
}),
ConfigurationModule,
DataEnhancerModule,
DataProviderModule,

Loading…
Cancel
Save