You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest to pass HystrixCommandProperties or ExecutionIsolationStrategy to HystrixConcurrencyStrategy#wrapCallable(Callable callable). For example, if ExecutionIsolationStrategy is SEMAPHORE then in my case the given callable can be returned as is, without being wrapped:
Something similar came up in /#1548#1570, in which Hystrix was eagerly calling wrapCallable. After that change, it will now invoke wrapCallable only when:
putting the Hystrix-wrapped work onto a Hystrix thread (command is thread-isolated)
executing the fallback on a HystrixTimer thread
executing a HystrixCollapser-produced command on a HystrixTimer thread
So I don't believe that wrapCallable ever gets invoked on the user-provided work when the command is semaphore-isolated.
I suggest to pass
HystrixCommandProperties
orExecutionIsolationStrategy
toHystrixConcurrencyStrategy#wrapCallable(Callable callable)
. For example, ifExecutionIsolationStrategy
isSEMAPHORE
then in my case the given callable can be returned as is, without being wrapped:The text was updated successfully, but these errors were encountered: