system.properties 2.6 KB

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