diff --git a/lib/compute/agent-nodes.ts b/lib/compute/agent-nodes.ts index f6c01d52..09aac77a 100644 --- a/lib/compute/agent-nodes.ts +++ b/lib/compute/agent-nodes.ts @@ -188,7 +188,7 @@ export class AgentNodes { workerLabelString: 'Jenkins-Agent-Windows2019-X64-C54xlarge-Docker-Host', instanceType: 'C54xlarge', remoteUser: 'Administrator', - maxTotalUses: -1, + maxTotalUses: 10, minimumNumberOfSpareInstances: 4, numExecutors: 4, amiId: 'ami-0a9759da263ce9304', @@ -205,7 +205,7 @@ export class AgentNodes { workerLabelString: 'Jenkins-Agent-Windows2019-X64-C54xlarge-Docker-Builder', instanceType: 'C54xlarge', remoteUser: 'Administrator', - maxTotalUses: -1, + maxTotalUses: 10, minimumNumberOfSpareInstances: 1, numExecutors: 1, amiId: 'ami-0a9759da263ce9304',