Dynopoker is a gem which prevent your Heroku dyno from falling asleep.
Inspired and sponsored by http://wakemydyno.com
Dynopoker will command your app to ping itself every 30 minutes.
Put this line into your Gemfile
:
gem 'dynopoker'
Add this configuration to your config file:
Dynopoker.configure do |config|
config.address = 'http://wakemydyno.com'
# config.enable = false # default is true
# config.poke_frequency = 123 # default is 1800s (30min)
end
Dynopoker is already doing what it was designed for. No extra features are needed. Code is very simple and well written. I recently added specs but I feel that those specs could be written better. Feel free to contribute.