Browse Source

负载超时设置

Progr1mmer 7 years ago
parent
commit
f58c8793c0
1 changed files with 12 additions and 7 deletions
  1. 12 7
      application.yml

+ 12 - 7
application.yml

@ -25,13 +25,18 @@ management:
    enabled: false
#Hystrix
#hystrix:
#  command:
#    default:
#      execution:
#        isolation:
#          thread:
#            timeoutInMilliseconds: 30000
hystrix:
  command:
    default:
      execution:
        isolation:
          thread:
            timeoutInMilliseconds: 300000
#Ribbon
ribbon:
  ReadTimeout: 300000
  ConnectTimeout: 5000
#Application error definition, this file define common errors,
#if the error is used only in your application, please define it in your application configuration file.