Is there a way to keep at least one
Is there a way to keep at least one minimum instance running to avoid cold start delays?

2 Replies
Long sleepAfter and calling stop() on all instances but one when unused would be a way to achieve that.
Alternatively two containers classes entries in your wrangler.jsonc, one with max_instances = 1 that has a very long sleepAfter that is always warm and another one with a smaller sleepAfter
We'll probably add a minimum instance value once we have the real autoscaling solution out for more long-lived tasks