#服务器配置 2核2G
#springboot 1.5.7.RELEASE
#最大连接数
server.tomcat.max-connections=3000
#最大线程数
server.tomcat.max-threads=200
#熔断器:请求超时时间
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=60000
#熔断器:使用信号量模式
hystrix.command.default.execution.isolation.strategy=SEMAPHORE
#熔断器:熔断时间设置为2秒
hystrix.command.default.circuitBreaker.sleepWindowInMilliseconds=2000
#网关最大信号量
zuul.semaphore.max-semaphores=120
#单个服务A的最大信号量
zuul.eureka.serviceA.semaphore.maxSemaphores=90
#serviceA和serviceB的并发峰值不会一起出现,单个服务最大信号量之和可以超过120
zuul.eureka.serviceB.semaphore.maxSemaphores=90