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

Cancel prev state health check on config update (merge from v3) #2

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

horkhe
Copy link
Member

@horkhe horkhe commented Oct 9, 2023

No description provided.

@@ -31,6 +31,8 @@ type RouterFactory struct {

chainBuilder *middleware.ChainBuilder
tlsManager *tls.Manager

cancelPrevState func()
Copy link

Choose a reason for hiding this comment

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

I would use type context.CancelFunc for self-documenting purposes.

Copy link
Member Author

Choose a reason for hiding this comment

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

I have just copied this over from v3 branch, to simplify future merges if necessary.

@horkhe horkhe merged commit ac2cd7a into patched Oct 11, 2023
1 check passed
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