Commit 2c00d88ededc717b6c264f7b70862c1194e24c3c
1 parent
7d672ab0
Exists in
master
and in
1 other branch
Added 'rake cron' task that calls errbit:db:clear_resolved by default. This is f…
…or heroku users using the free database. [ci skip]
Showing
2 changed files
with
14 additions
and
1 deletions
Show diff stats
README.md
@@ -98,7 +98,15 @@ for you. Checkout [Airbrake](http://airbrakeapp.com) from the guys over at | @@ -98,7 +98,15 @@ for you. Checkout [Airbrake](http://airbrakeapp.com) from the guys over at | ||
98 | 98 | ||
99 | heroku run rake db:seed | 99 | heroku run rake db:seed |
100 | 100 | ||
101 | - 4. Enjoy! | 101 | + 4. If you are using a free database on Heroku, you may want to periodically clear resolved errors to free up space. |
102 | + | ||
103 | + # Install the heroku cron addon, to clear resolved errors daily: | ||
104 | + heroku addons:add cron:daily | ||
105 | + | ||
106 | + # Or, clear resolved errors manually: | ||
107 | + heroku rake errbit:db:clear_resolved | ||
108 | + | ||
109 | + 5. Enjoy! | ||
102 | 110 | ||
103 | 111 | ||
104 | **Configuring LDAP authentication:** | 112 | **Configuring LDAP authentication:** |