Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle when heroku is down #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

amiel
Copy link
Contributor

@amiel amiel commented Oct 14, 2014

I had a couple of requests 500 when Heroku recently had some API unavailability. Because of this, I want resque-heroku-autoscaler to ignore exceptions when attempting to connect to the API, and instead just try to autoscale next time. My solution here was pretty much cargo-culted from JustinLove/autoscaler#30.

Amiel Martin added 2 commits October 13, 2014 20:42
The default is to just print the error and its backtrace. Most of the time it is not worth the exception when autoscale cannot happen,
and it will hopefully happen next time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant