application-toc.yaml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. server:
  2. port: 8899
  3. undertow:
  4. threads:
  5. # io线程数,主要执行费阻塞的任务
  6. io: 8
  7. # 阻塞任务线程池
  8. worker: 50
  9. # 每块buffer的空间大小,越小的空间被利用越充分
  10. buffer-size: 1024
  11. # 是否分配的直接内存
  12. direct-buffers: true
  13. spring:
  14. datasource:
  15. core:
  16. jdbc-url: jdbc:mysql://120.79.121.165:3306/rz_hfdb_core?allowMultiQueries=true&useSSL=false&rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull
  17. username: rz_new_data_channel_user
  18. password: xVfuCKIP
  19. driver-class-name: com.mysql.cj.jdbc.Driver
  20. hikari:
  21. pool-name: hfdb_core
  22. # 连接池最大连接数,默认是10
  23. maximum-pool-size: 10
  24. # 此属性控制从池返回的连接的默认自动提交行为,默认值:true
  25. auto-commit: true
  26. # 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认30分钟
  27. max-lifetime: 900000
  28. # 数据库连接超时时间,设置为300秒超时
  29. connection-timeout: 300000
  30. # keepalive time
  31. keepalive-time: 60000
  32. mf:
  33. jdbc-url: jdbc:mysql://120.79.121.165:3306/rz_mf_info?allowMultiQueries=true&useSSL=false&rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull
  34. username: rz_new_data_channel_user
  35. password: xVfuCKIP
  36. driver-class-name: com.mysql.cj.jdbc.Driver
  37. hikari:
  38. pool-name: mf_info
  39. # 连接池最大连接数,默认是10
  40. maximum-pool-size: 10
  41. # 此属性控制从池返回的连接的默认自动提交行为,默认值:true
  42. auto-commit: true
  43. # 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认30分钟
  44. max-lifetime: 900000
  45. # 数据库连接超时时间,设置为300秒超时
  46. connection-timeout: 300000
  47. # keepalive time
  48. keepalive-time: 60000
  49. data:
  50. redis:
  51. host: 192.168.1.28
  52. port: 6379
  53. password: twznW28grxzk
  54. timeout: 30000
  55. database: 2
  56. jedis:
  57. pool:
  58. max-idle: 6 #最大空闲数
  59. max-active: 10 #最大连接数
  60. min-idle: 2 #最小空闲数
  61. application:
  62. name: smppw-analysis
  63. smppw:
  64. data:
  65. analysis:
  66. py-url: https://pymaster-test.simuwang.com/ # python服务调用地址
  67. cache-type: redis # 缓存类型,支持redis和memory;如果是redis必须配置redis
  68. app-signs:
  69. - app-key: ppw-toc
  70. app-secret: abcdef
  71. enabled: true
  72. - app-key: ppw-tob
  73. enable-sign: false
  74. # 打印一下sql日志
  75. logging:
  76. level:
  77. com.smppw.analysis.domain.mapper: debug