@@ -36,8 +36,11 @@ export class Config {
36
36
readonly retryScaleUpRecordQueueUrl : string | undefined ;
37
37
readonly runnerGroupName : string | undefined ;
38
38
readonly runnersExtraLabels : undefined | string ;
39
+ readonly scaleConfigOrg : string ;
39
40
readonly scaleConfigRepo : string ;
40
41
readonly scaleConfigRepoPath : string ;
42
+ readonly scaleUpMinQueueTimeMinutes : number ;
43
+ readonly scaleUpRecordQueueUrl : string | undefined ;
41
44
readonly secretsManagerSecretsId : string | undefined ;
42
45
readonly sSMParamCleanupAgeDays : number ;
43
46
readonly sSMParamMaxCleanupAllowance : number ;
@@ -94,8 +97,12 @@ export class Config {
94
97
/* istanbul ignore next */
95
98
this . retryScaleUpRecordJitterPct = Number ( process . env . RETRY_SCALE_UP_RECORD_JITTER_PCT || '0' ) ;
96
99
this . retryScaleUpRecordQueueUrl = process . env . RETRY_SCALE_UP_RECORD_QUEUE_URL ;
100
+ this . scaleUpRecordQueueUrl = process . env . SCALE_UP_RECORD_QUEUE_URL ;
101
+ this . scaleUpMinQueueTimeMinutes =
102
+ process . env . SCALE_UP_MIN_QUEUE_TIME_MINUTES ? Number ( process . env . SCALE_UP_MIN_QUEUE_TIME_MINUTES ) : 30 ;
97
103
this . runnerGroupName = process . env . RUNNER_GROUP_NAME ;
98
104
this . runnersExtraLabels = process . env . RUNNER_EXTRA_LABELS ;
105
+ this . scaleConfigOrg = process . env . SCALE_CONFIG_ORG || '' ;
99
106
/* istanbul ignore next */
100
107
this . scaleConfigRepo = process . env . SCALE_CONFIG_REPO || '' ;
101
108
if ( this . enableOrganizationRunners && ! this . scaleConfigRepo ) {
0 commit comments