buildkite / lifecycled

A daemon for responding to AWS AutoScaling Lifecycle Hooks
MIT License
146 stars 34 forks source link

Support configuring intervals for spot instance termination and autoscaling heartbeats #97

Closed stevenmatthewt closed 2 years ago

stevenmatthewt commented 2 years ago

We've found the default 10s heartbeat interval to be a little too fast for our particular use-case, so we'd love to be able to to configure it via a flag/envvar. While I was at it, I went ahead and added support for configuring the spot listener interval just for consistency.

Let me know what you think! I'm totally happy to change anything.