Machine Shutdown Time

Is it possible to turn the timer on when a machine spins down? auto stop is great since my server is used sporatically the problem is though that when it is used sometimes people can take 5 minutes to do the next action which by that point the server has already shut down.

It would be great if I could configure the auto shutdown to be 30 minutes

It’s not currently configurable but one option could be for the client to send a “keepalive” request every 3 minutes until the next action is performed.

You can try setting auto_stop_machines configuration parameter to "suspend" value in your fly.toml file:

auto_stop_machines = "suspend"

instead of

auto_stop_machines = "stop"

Suspended machines are significantly quicker to start than the fully stopped ones.

I’m curious, if you set a keepalive header, would the Fly proxy respect that or would it just shutdown after ~7mins anyways?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.