Skip to content

Commit

Permalink
[Feature] Run all reports for an agency before moving to the next agency
Browse files Browse the repository at this point in the history
  • Loading branch information
levinmr committed Aug 21, 2024
1 parent 8372204 commit a02ce44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ async function runQueuePublish(options = {}) {
const queueClient = await _initQueueClient(appConfig, appLogger);
const queue = "analytics-reporter-job-queue";

for (const reportConfig of reportConfigs) {
for (const agency of agencies) {
for (const agency of agencies) {
for (const reportConfig of reportConfigs) {
process.env.AGENCY_NAME = agency.agencyName;
const reportLogger = Logger.initialize(appConfig, reportConfig);
try {
Expand Down

0 comments on commit a02ce44

Please sign in to comment.