Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/honza/heroku-bouncer

Keep your app alive
https://github.com/honza/heroku-bouncer

Last synced: about 5 hours ago
JSON representation

Keep your app alive

Awesome Lists containing this project

README

        

Heroku bouncer
==============

If you are on the free plan and only using one web dyno, Heroku will actually
turn it off after one hour of inactivity. Then, on the next request the app
needs to be woken up. This can take a few seconds.

Heroku bouncer is a Heroku bot that will ping one or more of your Heroku apps
once every hour to make sure that your app stays online.

Installation
------------

```
$ git clone git://github.com/honza/heroku-bouncer.git
$ cd heroku-bouncer
$ ... create heroku app
$ heroku config:set URLS="http://google.com,http://honza.ca" INTERVAL=30
$ git push heroku master
$ heroku scale bouncer=1
```

Settings
--------

```
URLS --- comma separated list of urls to hit
INTERVAL --- number of minutes between hits (default: 55)
```

License
-------

BSD, short and sweet.