Browse Source

refactor: added readOnlyMode Config to the bullboards

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

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

@ -28,7 +28,10 @@ import { DataGatheringProcessor } from './data-gathering.processor';
}),
BullBoardModule.forFeature({
name: DATA_GATHERING_QUEUE,
adapter: BullAdapter
adapter: BullAdapter,
options: {
readOnlyMode: true
}
}),
ConfigurationModule,
DataEnhancerModule,

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

@ -36,7 +36,10 @@ import { PortfolioSnapshotProcessor } from './portfolio-snapshot.processor';
}),
BullBoardModule.forFeature({
name: PORTFOLIO_SNAPSHOT_COMPUTATION_QUEUE,
adapter: BullAdapter
adapter: BullAdapter,
options: {
readOnlyMode: true
}
}),
ConfigurationModule,
DataProviderModule,

Loading…
Cancel
Save