How to increase app sleep threshold?

Hello, my app sleeps if no request is made within around 5 mins. How do i increase that to 30 mins?

Set auto_stop_machines to false and auto_start_machines to true in your fly.toml:

Set up your own timeout (example below is a Bun JS application):

And exit with a code of zero when you timer completes:

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