Browse Source

moved the BullBoard up as per alphabetical order

pull/5800/head
tanbirali 1 week ago
parent
commit
f9b778008f
  1. 14
      apps/api/src/services/queues/data-gathering/data-gathering.module.ts
  2. 14
      apps/api/src/services/queues/portfolio-snapshot/portfolio-snapshot.module.ts

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

@ -19,13 +19,6 @@ import { DataGatheringProcessor } from './data-gathering.processor';
@Module({
imports: [
BullModule.registerQueue({
limiter: {
duration: ms('4 seconds'),
max: 1
},
name: DATA_GATHERING_QUEUE
}),
BullBoardModule.forFeature({
name: DATA_GATHERING_QUEUE,
adapter: BullAdapter,
@ -33,6 +26,13 @@ import { DataGatheringProcessor } from './data-gathering.processor';
readOnlyMode: true
}
}),
BullModule.registerQueue({
limiter: {
duration: ms('4 seconds'),
max: 1
},
name: DATA_GATHERING_QUEUE
}),
ConfigurationModule,
DataEnhancerModule,
DataProviderModule,

14
apps/api/src/services/queues/portfolio-snapshot/portfolio-snapshot.module.ts

@ -24,6 +24,13 @@ import { PortfolioSnapshotProcessor } from './portfolio-snapshot.processor';
exports: [BullModule, PortfolioSnapshotService],
imports: [
AccountBalanceModule,
BullBoardModule.forFeature({
name: PORTFOLIO_SNAPSHOT_COMPUTATION_QUEUE,
adapter: BullAdapter,
options: {
readOnlyMode: true
}
}),
BullModule.registerQueue({
name: PORTFOLIO_SNAPSHOT_COMPUTATION_QUEUE,
settings: {
@ -34,13 +41,6 @@ import { PortfolioSnapshotProcessor } from './portfolio-snapshot.processor';
)
}
}),
BullBoardModule.forFeature({
name: PORTFOLIO_SNAPSHOT_COMPUTATION_QUEUE,
adapter: BullAdapter,
options: {
readOnlyMode: true
}
}),
ConfigurationModule,
DataProviderModule,
ExchangeRateDataModule,

Loading…
Cancel
Save