今天SpringCloud-Hystrix 並發調用報could not acquire a semaphore for execution,配置以下設置,完美解決
hystrix:
command:
default:
execution:
isolation:
strategy: SEMAPHORE
thread:
timeoutInMilliseconds: 120000
semaphore:
maxConcurrentRequests: 1000
circuitBreaker:
sleepWindowInMilliseconds: 5000