system.properties 2.7 KB

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