Skip to content

Commit

Permalink
Merge branch 'staging' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
hotzevzl committed Mar 8, 2024
2 parents d735d17 + 871c611 commit ff9f59f
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ export class ScenarioPlanningUnitsFeaturesAggregateProcessor
) {}

async process(job: Job<JobInput, true>): Promise<true> {
/**
* @debt Bypassing the original query, whose results are not needed anymore,
* and which was expensive to run. The flow that includes this processor
* should be cleaned up instead, to fully bypass
* ScenarioPlanningUnitsFeaturesAggregateProcessor.
*/
return true;
const scenarioId = job.data.scenarioId;
await this.entityManager.query(query, [scenarioId]);
return true;
Expand Down

0 comments on commit ff9f59f

Please sign in to comment.