Skip to content

Instantly share code, notes, and snippets.

@njofce
Created August 6, 2019 13:01
Show Gist options
  • Save njofce/2ab834ea0e19d03baa52d80bc1306a65 to your computer and use it in GitHub Desktop.
Save njofce/2ab834ea0e19d03baa52d80bc1306a65 to your computer and use it in GitHub Desktop.
@HystrixCommand(fallbackMethod = “getAssociatedInstitutionFallback”,
threadPoolKey = “threadPoolInstitution”,
threadPoolProperties = {
@HystrixProperty(name = “coreSize”, value = “15”),
@HystrixProperty(name = “maxQueueSize”, value = “5”)
},
commandPoolProperties = {
@HystrixProperty(name=”circuitBreaker.requestVolumeThreshold”, value = ”5”)
@HystrixProperty(name=”circuitBreaker.errorThresholdPercentage”, value = “50”)
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment