SpringCloud-Hystrix 报 could not acquire a semaphore for execution

今天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

原文地址:https://www.cnblogs.com/anakin/p/14017120.html