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

Make values for HystrixRollingPercentile bucket calculation only affect construction #824

Merged

Conversation

mattrjacobs
Copy link
Contributor

, not runtime.

This deprecates a constructor that accepted HystrixProperty for these properties in favor of a new one, which accepts ints.

Also, the bucketSizeInMilliseconds() method was getting called frequently enough to cause the division to show up in CPU hot paths in production apps - precomputation should alleviate that problem

…ct construction, and never runtime.

* This deprecates a constructor that accepted HystrixProperty<Integer> for these
  properties in favor of a new one, which accepts ints
@cloudbees-pull-request-builder

NetflixOSS » Hystrix » Hystrix-pull-requests #139 SUCCESS
This pull request looks good

mattrjacobs added a commit that referenced this pull request Jun 21, 2015
…tion

Make values for HystrixRollingPercentile bucket calculation only affect construction
@mattrjacobs mattrjacobs merged commit 75f663d into Netflix:master Jun 21, 2015
@mattrjacobs mattrjacobs deleted the remove-bucket-size-recalculation branch June 21, 2015 22:26
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