Skip to content

Commit

Permalink
Cleanup erpc service
Browse files Browse the repository at this point in the history
  • Loading branch information
KONFeature committed Jul 30, 2024
1 parent fcde6cd commit 749f977
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions iac/Indexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ export function IndexerStack({ app, stack }: StackContext) {
});

// Then add the erpc service
const erpcService = addErpcService({ stack, app, vpc, cluster });
//const erpcService = addErpcService({ stack, app, vpc, cluster });

// Add the indexer service
const indexerService = addIndexerService({ stack, app, vpc, cluster });

// If we are missing the fargate services, early exit
const indexerFaragateService = indexerService.cdk?.fargateService;
const erpcFargateService = erpcService.cdk?.fargateService;
if (!(indexerFaragateService && erpcFargateService)) {
// const erpcFargateService = erpcService.cdk?.fargateService;
if (!(indexerFaragateService)) {
throw new Error(
"Missing fargate service in the indexer or erpc service"
);
Expand Down

0 comments on commit 749f977

Please sign in to comment.