system.properties 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. ### System Properties
  2. ## DB Config
  3. # localhost connect url
  4. #jdbc.url=jdbc\:mysql\://47.112.127.131\:3306/clean_machine?useUnicode\=true&characterEncoding\=UTF-8
  5. #jdbc.url=jdbc\:mysql\://localhost\:3306/clean_machine?useUnicode\=true&characterEncoding\=UTF-8
  6. #jdbc.username=hboxs
  7. #jdbc.password=hboxs@mysql
  8. ## RDS连接库
  9. #内网
  10. jdbc.url=jdbc\:mysql\://rm-wz995mu26a1479kz0.mysql.rds.aliyuncs.com\:3306/clean_machine?useUnicode\=true&characterEncoding\=UTF-8
  11. jdbc.username=root
  12. jdbc.password=sunzee@020
  13. jdbc.driver=com.mysql.jdbc.Driver
  14. ## Connection Pool Config
  15. connection_pools.min_pool_size=5
  16. connection_pools.acquire_increment=5
  17. connection_pools.max_pool_size=100
  18. connection_pools.initial_pool_size=5
  19. connection_pools.max_idle_time=600
  20. connection_pools.checkout_timeout=60000
  21. ## Freemarker Template Config
  22. template.number_format=0.\#\#\#\#\#\#
  23. template.datetime_format=yyyy-MM-dd
  24. template.time_format=HH\:mm\:ss
  25. template.boolean_format=true,false
  26. template.update_delay=0
  27. template.encoding=UTF-8
  28. template.date_format=yyyy-MM-dd
  29. template.loader_path=/WEB-INF/template
  30. template.suffix=.ftl
  31. ## Hibernate Config
  32. hibernate.cache.use_query_cache=false
  33. hibernate.cache.use_second_level_cache=false
  34. hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
  35. hibernate.jdbc.batch_size=30
  36. hibernate.cache.region.factory_class=org.hibernate.cache.impl.NoCachingRegionFactory
  37. hibernate.jdbc.fetch_size=50
  38. hibernate.connection.show_sql=true
  39. hibernate.format_sql=true
  40. ## Task Config
  41. task.queue_capacity=1000
  42. task.max_pool_size=50
  43. task.core_pool_size=5
  44. task.keep_alive_seconds=60
  45. ## Job Config
  46. ##job.order_release_stock.cron=0 0/30 * * * ?
  47. ##job.static_build.cron=0 0 1 * * ?
  48. ##job.cart_evict_expired.cron=0 0 1 * * ?
  49. ## Mail Server Config
  50. mail.smtp.starttls.enable=false
  51. mail.smtp.auth=true
  52. mail.smtp.timeout=25000
  53. ## System Config
  54. system.description=��������
  55. system.version=1.0
  56. system.name=cleanMachine
  57. system.project_name=127_0_0_1_hboxs
  58. system.show_powered=true
  59. ## Shipping Config
  60. sn.returns.maxLo=100
  61. sn.product.maxLo=100
  62. sn.shipping.maxLo=100
  63. sn.order.maxLo=100
  64. sn.charge.maxLo=100
  65. sn.waste.maxLo=100
  66. sn.trade.maxLo=100
  67. sn.shipping.prefix={.now?string('yyyyMM')}
  68. sn.order.prefix={.now?string('yyyyMM')}
  69. sn.product.prefix={.now?string('yyyyMM')}
  70. sn.returns.prefix={.now?string('yyyyMM')}
  71. sn.charge.prefix=T{.now?string('yyyyMM')}
  72. sn.waste.prefix=W{.now?string('yyyyMM')}
  73. sn.trade.prefix=F{.now?string('yyyyMM')}
  74. ## Message Config
  75. message.cache_seconds=3600
  76. message.shop_path=/WEB-INF/language/shop/message
  77. message.common_path=/WEB-INF/language/common/message
  78. message.admin_path=/WEB-INF/language/admin/message
  79. message.asl_path=/WEB-INF/language/asl/message
  80. ## Other Config
  81. locale=zh_CN
  82. url_escaping_charset=UTF-8
  83. #=====================redis========================
  84. redis.host=127.0.0.1
  85. redis.port=6379
  86. redis.pass=
  87. redis.default.db=0
  88. redis.timeout=100000
  89. redis.maxActive=1024
  90. redis.maxIdle=200
  91. redis.maxWait=10000
  92. redis.testOnBorrow=true
  93. #DBSync.testOnBorrow=true