Hi, in the documentation it says:
When
auto_stop_machines = true
in yourfly.toml
, the proxy looks at Machines running in a single region and uses the concurrencysoft_limit
setting for each Machine to determine if there’s excess capacity. If the proxy decides there’s excess capacity, it stops exactly one Machine. The proxy repeats this process every few minutes, stopping only one Machine per region, if needed, each time
So there is now way to control how long a machine should have zero incoming connections before it scales down?
I would love to set a timer setting, ex 5 minutes from last connection before it gets killed.
I know in most other situations you probably want to scale down as fast as possible to save money, but in my situation I am running a service that receives a file (few seconds short connection). Then it does some processing/conversions on the file and uploads it elsewhere… But the processing can perhaps take up to 5 minutes in worst cases. So I don’t want the machine to be scaled down to zero during the first 5 minutes from the last incoming connection.
Is there a way to have a scale down timer setting?