Implement a custom HystrixPropertiesStrategy plugin

Add a custom HystrixPropertiesStrategy implementation where getCommandPropertiesCacheKey is overridden to return null so that HystrixPropertiesFactory will always generate a new HystrixCommandProperties for each new HystrixCommand instantiation.
Fair enough.
On Oct 6, 2014 10:57 AM, "Lloyd" <notifications@github.com> wrote:

> In app/com/m3/octoparts/Global.scala:
>
> > @@ -80,8 +82,8 @@ object Global extends WithFilters(MetricsFilter) with ScaldiSupport {
> >    }
> >
> >    override def onStart(app: Application) = {
> > +    setHystrixPropertiesStrategy(app)
>
> My concern is that since there is actually *no way* of unregistering
> anything and registering the same kind of plugin twice actually causes
> errors, having this in a trait would imply that it *can* be reused
> somewhere else, when for all intents and purposes, this should be called
> only once during the application life-cycle: at it's start.
>
> That's why I think it should belong in global : it is very much global
> (!), hooks into the application lifecycle, and shouldn't/can't be used
> anywhere else.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/m3dev/octoparts/pull/36/files#r18439654>.
>