This repository was archived by the owner on Jan 16, 2025. It is now read-only.
File tree 3 files changed +3
-9
lines changed
modules/runners/lambdas/runners
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.970.0" ,
45
45
"cron-parser" : " ^3.3.0" ,
46
- "typescript" : " ^4.2.3" ,
47
- "yn" : " ^4.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 4531
4531
version "3.1.1"
4532
4532
resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50"
4533
4533
integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==
4534
-
4535
- yn@^4.0.0 :
4536
- version "4.0.0"
4537
- resolved "https://registry.yarnpkg.com/yn/-/yn-4.0.0.tgz#611480051ea43b510da1dfdbe177ed159f00a979"
4538
- integrity sha512-huWiiCS4TxKc4SfgmTwW1K7JmXPPAmuXWYy4j9qjQo4+27Kni8mGhAAi1cloRWmBe2EqcLgt3IGqQoRL/MtPgg==
You can’t perform that action at this time.
0 commit comments