application.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. abtest:
  28. negotiationType: PLAINTEXT
  29. server:
  30. tomcat:
  31. threads:
  32. max: 1000
  33. uri-encoding: UTF-8
  34. accept-count: 1000
  35. connection-timeout: 30000
  36. servlet:
  37. context-path: /recommend-server
  38. session:
  39. timeout: 60
  40. pagehelper:
  41. helper-dialect: mysql
  42. logging:
  43. file:
  44. path: /datalog/weblog/${spring.application.name}/
  45. app:
  46. id: recommend-server
  47. apollo:
  48. bootstrap:
  49. enabled: true
  50. namespaces: application,RD.Experiment
  51. cacheDir: /datalog/apollo-cache-dir
  52. feign:
  53. client:
  54. config:
  55. default:
  56. connectTimeout: 2000
  57. readTimeout: 10000