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

Adds boot proxy to overcome Heroku timeouts #1

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

Adds boot proxy to overcome Heroku timeouts #1

wants to merge 5 commits into from

Conversation

pardo-bsso
Copy link

Sometimes reaction takes too much time to start and Heroku thinks that there's a problem with your app. To sidestep this
we have a simple proxy that answers every request until it's ready.

It accepts the following environment variables:

  • USE_BOOT_PROXY: Set USE_BOOT_PROXY=1 to enable it. It's disabled by default.
  • PING_PATH: The route we use to test if your app is ready. Defaults to /. You need to add a leading slash.
  • PING_INTERVAL: Interval between probes, in seconds. Defaults to 1 second.
  • BOOT_TIMEOUT: Maximum time to wait for your app in seconds. Defaults to 3600 (1 Hour). If reached we exit with an
    error.

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