Skip to content

Commit 6aa86cf

Browse files
authored
chore: set reaper_sleep_minutes on reaper lambda to reduce Buildkite API calls (#1485)
1 parent 01e123e commit 6aa86cf

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.aspect/workflows/terraform/workflows.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ module "aspect_workflows" {
8282
max_runners = 10
8383
min_runners = 0
8484
queue = "aspect-default"
85+
reaper_sleep_minutes = 5
8586
resource_type = "default"
8687
scaling_polling_frequency = 3 # check for queued jobs every 20s
8788
warming = true
@@ -92,6 +93,7 @@ module "aspect_workflows" {
9293
max_runners = 20
9394
min_runners = 0
9495
queue = "aspect-small"
96+
reaper_sleep_minutes = 10
9597
resource_type = "small"
9698
scaling_polling_frequency = 3 # check for queued jobs every 20s
9799
warming = false # don't warm for faster bootstrap; these runners won't be running large builds
@@ -102,6 +104,7 @@ module "aspect_workflows" {
102104
max_runners = 10
103105
min_runners = 0
104106
queue = "aspect-micro"
107+
reaper_sleep_minutes = 10
105108
resource_type = "micro"
106109
scaling_polling_frequency = 3 # check for queued jobs every 20s
107110
warming = false # don't warm for faster bootstrap; these runners won't be running large builds
@@ -114,6 +117,7 @@ module "aspect_workflows" {
114117
max_runners = 1
115118
min_runners = 0
116119
queue = "aspect-warming"
120+
reaper_sleep_minutes = 10
117121
resource_type = "default"
118122
}
119123
}

0 commit comments

Comments
 (0)