我访问http://.../actuator/hystrix.stream,控制台打印:
它显示“ propertyValue_executionIsolationStrategy”:“ SEMAPHORE”,但是我已经设置了属性:hystrix.command.default.execution.isolation.strategy = THREAD 在application.properties中,
如何修改为THREAD?我访问涡轮,线程池正在加载!
data: {
"type": "HystrixCommand",
"name": "fallbackcmd.logout",
"group": "HystrixGatewayFilterFactory",
"currentTime": 1539916267600,
"isCircuitBreakerOpen": false,
"errorPercentage": 0,
"errorCount": 0,
"requestCount": 0,
"rollingCountBadRequests": 0,
"rollingCountCollapsedRequests": 0,
"rollingCountEmit": 0,
"rollingCountExceptionsThrown": 0,
"rollingCountFailure": 0,
"rollingCountFallbackEmit": 0,
"rollingCountFallbackFailure": 0,
"rollingCountFallbackMissing": 0,
"rollingCountFallbackRejection": 0,
"rollingCountFallbackSuccess": 0,
"rollingCountResponsesFromCache": 0,
"rollingCountSemaphoreRejected": 0,
"rollingCountShortCircuited": 0,
"rollingCountSuccess": 0,
"rollingCountThreadPoolRejected": 0,
"rollingCountTimeout": 0,
"currentConcurrentExecutionCount": 0,
"rollingMaxConcurrentExecutionCount": 0,
"latencyExecute_mean": 0,
"latencyExecute": {
"0": 0,
"25": 0,
"50": 0,
"75": 0,
"90": 0,
"95": 0,
"99": 0,
"99.5": 0,
"100": 0
},
"latencyTotal_mean": 0,
"latencyTotal": {
"0": 0,
"25": 0,
"50": 0,
"75": 0,
"90": 0,
"95": 0,
"99": 0,
"99.5": 0,
"100": 0
},
"propertyValue_circuitBreakerRequestVolumeThreshold": 50,
"propertyValue_circuitBreakerSleepWindowInMilliseconds": 2000,
"propertyValue_circuitBreakerErrorThresholdPercentage": 50,
"propertyValue_circuitBreakerForceOpen": false,
"propertyValue_circuitBreakerForceClosed": false,
"propertyValue_circuitBreakerEnabled": true,
"propertyValue_executionIsolationStrategy": "SEMAPHORE",
"propertyValue_executionIsolationThreadTimeoutInMilliseconds": 10000,
"propertyValue_executionTimeoutInMilliseconds": 10000,
"propertyValue_executionIsolationThreadInterruptOnTimeout": true,
"propertyValue_executionIsolationThreadPoolKeyOverride": null,
"propertyValue_executionIsolationSemaphoreMaxConcurrentRequests": 10,
"propertyValue_fallbackIsolationSemaphoreMaxConcurrentRequests": 100,
"propertyValue_metricsRollingStatisticalWindowInMilliseconds": 10000,
"propertyValue_requestCacheEnabled": true,
"propertyValue_requestLogEnabled": true,
"reportingHosts": 1,
"threadPool": "HystrixGatewayFilterFactory"
}