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

Fixed use of flush budget for connections other than ROUTER #900

Merged
merged 1 commit into from Feb 7, 2019

Conversation

kozlovic
Copy link
Member

@kozlovic kozlovic commented Feb 7, 2019

Need to be explicit about the connection type to apply the budget to.

Signed-off-by: Ivan Kozlovic ivan@synadia.com

@coveralls
Copy link

coveralls commented Feb 7, 2019

Coverage Status

Coverage increased (+0.03%) to 91.587% when pulling 235e7f9 on fix_budget_flush into a733e67 on master.

server/client.go Outdated
budget := time.Millisecond
if c.kind == ROUTER {
budget = 0
// if applicable. Routes and Gatewawys will never
Copy link
Member

Choose a reason for hiding this comment

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

Gateway misspelled.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed and push forced.

Need to be explicit about the connection type to apply the budget to.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
Copy link
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

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

LGTM

@kozlovic kozlovic merged commit fe3289b into master Feb 7, 2019
@kozlovic kozlovic deleted the fix_budget_flush branch February 7, 2019 23:07
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.

None yet

3 participants