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

HystrixCommand constructors allocating too much #850

Closed
mattrjacobs opened this issue Aug 6, 2015 · 1 comment
Closed

HystrixCommand constructors allocating too much #850

mattrjacobs opened this issue Aug 6, 2015 · 1 comment

Comments

@mattrjacobs
Copy link
Contributor

As outlined in #789, it's an antipattern to allocate a new HystrixCommand.Setter on each HystrixCommand constructor invocation.

@mattrjacobs
Copy link
Contributor Author

Merged in #855 to address some extra allocation and added documentation of the cached Setter pattern to: https://github.com/Netflix/Hystrix/wiki/How-To-Use#command-name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant