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

Check if connection is already active before waiting #977

Merged
merged 1 commit into from
Aug 10, 2018

Conversation

jntullo
Copy link

@jntullo jntullo commented Aug 10, 2018

This fixes an issue where there would be some "waiting" for a VPN to allocate, even if it has already been allocated. This moves the initial call to get the VPN connection outside of the loop to verify whether it is already active and does not wait the specified interval before notifying the user.

resolves https://github.com/heroku/dogwood/issues/2003

Copy link
Contributor

@amerine amerine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@jntullo jntullo merged commit df5fa0d into master Aug 10, 2018
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.

3 participants