bootstrap.yml 945 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Tomcat
  2. server:
  3. port: 9233
  4. # Spring
  5. spring:
  6. application:
  7. # 应用名称
  8. name: jeeplus-xxl-job-executor-sample
  9. profiles:
  10. # 环境配置
  11. active: dev
  12. cloud:
  13. nacos:
  14. discovery:
  15. # 服务注册地址
  16. server-addr: 127.0.0.1:8848
  17. # 命名空间
  18. namespace: ${spring.profiles.active}
  19. config:
  20. # 配置中心地址
  21. server-addr: 127.0.0.1:8848
  22. # 配置文件格式
  23. file-extension: yml
  24. # 共享配置
  25. shared-configs:
  26. - application.${spring.cloud.nacos.config.file-extension}
  27. # 命名空间
  28. namespace: ${spring.profiles.active}
  29. #ribbon的超时时间
  30. ribbon:
  31. ConnectTimeout: 60000 # 连接超时时间(ms)
  32. ReadTimeout: 60000 # 通信超时时间(ms)
  33. hystrix:
  34. command:
  35. default:
  36. execution:
  37. isolation:
  38. thread:
  39. timeoutInMillisecond: 60000 # 熔断超时时长:60000ms