File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed
modules/runners/lambdas/runners Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 43
43
"@types/node" : " ^16.6.1" ,
44
44
"aws-sdk" : " ^2.965.0" ,
45
45
"cron-parser" : " ^3.3.0" ,
46
- "typescript" : " ^4.2.3" ,
47
- "yn" : " ^5.0.0"
46
+ "typescript" : " ^4.2.3"
48
47
}
49
- }
48
+ }
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ async function removeRunner(
130
130
131
131
export async function scaleDown ( ) : Promise < void > {
132
132
const scaleDownConfigs = JSON . parse ( process . env . SCALE_DOWN_CONFIG ) as [ ScalingDownConfig ] ;
133
- const enableOrgLevel = yn ( process . env . ENABLE_ORGANIZATION_RUNNERS , { default : true } ) ;
133
+ const enableOrgLevel = JSON . parse ( process . env . ENABLE_ORGANIZATION_RUNNERS || ' true' ) as boolean ;
134
134
const environment = process . env . ENVIRONMENT ;
135
135
const minimumRunningTimeInMinutes = process . env . MINIMUM_RUNNING_TIME_IN_MINUTES ;
136
136
let idleCounter = getIdleRunnerCount ( scaleDownConfigs ) ;
Original file line number Diff line number Diff line change 4613
4613
version "3.1.1"
4614
4614
resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50"
4615
4615
integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==
4616
-
4617
- yn@^5.0.0 :
4618
- version "5.0.0"
4619
- resolved "https://registry.yarnpkg.com/yn/-/yn-5.0.0.tgz#63fc2e2e0056cf294397eed6ad4a3fbdf707f26f"
4620
- integrity sha512-+l37+9TyGEsyxGLaTg6QgYy5KnOp74ZZl4dPFLQpBWSkO99uBC5jnS0pOGwXFViPbiaEtWbParH2KrgWWF2duQ==
You can’t perform that action at this time.
0 commit comments