Skip to content
Permalink
Browse files

Only one worker for goal jobs

[changelog:changed]
  • Loading branch information...
cdupuis committed Jan 21, 2019
1 parent 40a740e commit 119fea6022229389069f26c68475b34decf9447c
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/internal/machine/configureSdm.ts
@@ -158,6 +158,9 @@ function configureSdmToRunExactlyOneGoal(mergedConfig: SoftwareDeliveryMachineCo

// Disable app events for forked clients
mergedConfig.applicationEvents.enabled = false;

// Set workers to one but leave enablement unset so that it can be defined elsewhere.
mergedConfig.cluster.workers = 1;
}

async function registerMetadata(config: Configuration, machine: SoftwareDeliveryMachine) {

0 comments on commit 119fea6

Please sign in to comment.
You can’t perform that action at this time.