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?
No description
2 Replies
Thomas Lefebvre
Thomas Lefebvre2mo ago
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
Mike Nomitch
Mike Nomitch2mo ago
We'll probably add a minimum instance value once we have the real autoscaling solution out for more long-lived tasks

Did you find this page helpful?