I watched the Fly Dashboard and the app at https://datasette-publish-fly-issue-29.fly.dev/ now successfully scales to zero if it receives no hits for 5 minutes, then starts running again when traffic arrives:
Here's it exiting 5m after the last request:
And here's it rebooting when a new request comes in:
Following #29 I decided to try this:
Using https://datasette.io/plugins/datasette-scale-to-zero ... and it worked!
I watched the Fly Dashboard and the app at https://datasette-publish-fly-issue-29.fly.dev/ now successfully scales to zero if it receives no hits for 5 minutes, then starts running again when traffic arrives:
Here's it exiting 5m after the last request:
And here's it rebooting when a new request comes in: