Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement autosuspend #3733

Merged
merged 2 commits into from
Jul 19, 2024
Merged

Implement autosuspend #3733

merged 2 commits into from
Jul 19, 2024

Commits on Jul 19, 2024

  1. Implement autosuspend

    This updates fly-go and switches flyctl to using the new tri-state
    fly.MachineAutostop type for the `auto_stop_machines` setting.
    Autosuspend can be enabled by setting `auto_stop_machines = "suspend"`.
    (Note that `fly.toml` parsing continues to support the original boolean
    settings for this field.)
    matttpt committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    6ceea04 View commit details
    Browse the repository at this point in the history
  2. Update the fly machines autostop flag

    This flag now accepts the new string values for autostop ("off", "stop",
    "suspend") in addition to the original boolean ones.
    matttpt committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    017ea7e View commit details
    Browse the repository at this point in the history