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

fix: wait for Hydra before trying to create client #208

Merged
merged 1 commit into from
Feb 6, 2020

Conversation

aldeed
Copy link
Contributor

@aldeed aldeed commented Feb 6, 2020

Impact: minor
Type: bugfix

Change

Instead of hard crashing on startup if Hydra is unavailable when we try to create the hydra client, wait for up to 2 minutes to see if it becomes available.

Breaking changes

None

Testing

  1. Stop Hydra service
  2. Start admin service with local docker-compose override
  3. When you see "Waiting for Hydra service to be available..." in admin logs, start the Hydra service.
  4. Within a few seconds, you should see "Hydra service is available." in the admin service logs, and admin startup should finish.

Signed-off-by: Eric Dobbertin <eric@dairystatedesigns.com>
@kieckhafer kieckhafer merged commit 59af306 into trunk Feb 6, 2020
@kieckhafer kieckhafer deleted the fix-aldeed-wait-for-hydra branch February 6, 2020 01:50
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.

2 participants