Because the free membership level on shinyapps.io only provides 25 hours of CPU time per month, it's important to set the Instance Idle Timeout for your application to the smallest value possible, 5 minutes.
The procedure to do this is:
- Login to shinyapps.io
- Navigate to the **Applications / All **panel by selecting this on the left navigation bar
- Select Settings on your app (the gear) to view the Application Overview
- Select Settings (the gear) to view the application settings, and on the General tab,
- Change the Instance Idle Timeout time to 5 minutes by scrolling the spinner selector.
As you can see from the chart in Step 3, my application has been accessed a total of 11 times since December 25th, for a total of 1.07 hours of total execution time. We receive 25 hours of CPU time per month at the "free" membership level. Since the default Instance Idle Time is 30 minutes (if my memory is correct), one can quickly burn up an entire month's time allotment after only 50 views of an application where timeout is set to the default settings.