application.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. spring:
  2. profiles:
  3. active: dev
  4. application:
  5. name: recommend-server
  6. # cloud:
  7. # sentinel:
  8. # eager: true
  9. # transport:
  10. # port: 8719
  11. # log:
  12. # dir: /datalog/sentinel
  13. # datasource:
  14. # ds1:
  15. # apollo:
  16. # namespace-name: application
  17. # flow-rules-key: sentinel.flowRules
  18. # default-flow-rule-value: []
  19. # rule-type: flow
  20. grpc:
  21. server:
  22. port: 9001
  23. reflection-service-enabled: true
  24. client:
  25. recommend-feature:
  26. negotiationType: PLAINTEXT
  27. server:
  28. tomcat:
  29. threads:
  30. max: 1000
  31. uri-encoding: UTF-8
  32. accept-count: 1000
  33. connection-timeout: 30000
  34. servlet:
  35. context-path: /recommend-server
  36. session:
  37. timeout: 60
  38. pagehelper:
  39. helper-dialect: mysql
  40. logging:
  41. file:
  42. path: /datalog/weblog/${spring.application.name}/
  43. app:
  44. id: recommend-server
  45. apollo:
  46. bootstrap:
  47. enabled: true
  48. namespaces: application
  49. cacheDir: /datalog/apollo-cache-dir
  50. feign:
  51. client:
  52. config:
  53. default:
  54. connectTimeout: 2000
  55. readTimeout: 10000