Skip to content

Commit

Permalink
chore: set reaper_sleep_minutes on reaper lambda to reduce Buildkite …
Browse files Browse the repository at this point in the history
…API calls (#1485)
  • Loading branch information
gregmagolan authored Feb 21, 2024
1 parent 01e123e commit 6aa86cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .aspect/workflows/terraform/workflows.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ module "aspect_workflows" {
max_runners = 10
min_runners = 0
queue = "aspect-default"
reaper_sleep_minutes = 5
resource_type = "default"
scaling_polling_frequency = 3 # check for queued jobs every 20s
warming = true
Expand All @@ -92,6 +93,7 @@ module "aspect_workflows" {
max_runners = 20
min_runners = 0
queue = "aspect-small"
reaper_sleep_minutes = 10
resource_type = "small"
scaling_polling_frequency = 3 # check for queued jobs every 20s
warming = false # don't warm for faster bootstrap; these runners won't be running large builds
Expand All @@ -102,6 +104,7 @@ module "aspect_workflows" {
max_runners = 10
min_runners = 0
queue = "aspect-micro"
reaper_sleep_minutes = 10
resource_type = "micro"
scaling_polling_frequency = 3 # check for queued jobs every 20s
warming = false # don't warm for faster bootstrap; these runners won't be running large builds
Expand All @@ -114,6 +117,7 @@ module "aspect_workflows" {
max_runners = 1
min_runners = 0
queue = "aspect-warming"
reaper_sleep_minutes = 10
resource_type = "default"
}
}
Expand Down

0 comments on commit 6aa86cf

Please sign in to comment.