Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit e8cae3a

Browse files
authored
chore(readme): clarify cron expression in readme (#2923)
chore(readme): clarify cron expression in readme (addresses philips-labs/terraform-aws-github-runner#1690)
1 parent 9b8f88b commit e8cae3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ The pool is NOT enabled by default and can be enabled by setting at least one ob
287287

288288
### Idle runners
289289

290-
The module will scale down to zero runners by default. By specifying a `idle_config` config, idle runners can be kept active. The scale down lambda checks if any of the cron expressions matches the current time with a margin of 5 seconds. When there is a match, the number of runners specified in the idle config will be kept active. In case multiple cron expressions matches, only the first one is taken into account. Below is an idle configuration for keeping runners active from 9 to 5 on working days.
290+
The module will scale down to zero runners by default. By specifying a `idle_config` config, idle runners can be kept active. The scale down lambda checks if any of the cron expressions matches the current time with a margin of 5 seconds. When there is a match, the number of runners specified in the idle config will be kept active. In case multiple cron expressions matches, only the first one is taken into account. Below is an idle configuration for keeping runners active from 9:00am to 5:59pm on working days. The [cron expression generator by Cronhub](https://crontab.cronhub.io/) is a great resource to set up your idle config.
291291

292292
```hcl
293293
idle_config = [{

0 commit comments

Comments
 (0)