Closed arjunr00 closed 5 years ago
For now, I'll set up a small script to ping the server every 29 minutes, because I believe a Heroku app on the most basic plan sleeps after 30 minutes of inactivity. If this number is incorrect, I'll amend it as required.
The blog's Heroku app goes to sleep after a period of inactivity, which means that it takes forever to wake back up. This causes much frustration (I know I got frustrated when it was demonstrated to me). Pinging the server at regular intervals will keep it awake.
This is going in
uclaradio.com
instead ofuclaradio-blog
because the former is always live, and so having a loop that pings the blog regularly would be more useful here.Warning: This may deplete the app's free dyno hours. Before considering this, we need to check to see whether we can keep the app awake without incurring any (additional?) cost.