redis.properties 925 B

1234567891011121314151617181920212223242526
  1. # Redis settings
  2. #\u7f13\u5b58\u670d\u52a1\u5668\u5730\u5740
  3. #redis.host=192.168.56.200
  4. redis.host=localhost
  5. #\u7f13\u5b58\u670d\u52a1\u5668\u7aef\u53e3
  6. redis.port=6379
  7. #\u8bbf\u95ee\u7f13\u5b58\u670d\u52a1\u5668\u5bc6\u7801
  8. #redis.pass=123456
  9. redis.pass=123456
  10. #\u8fde\u63a5\u7684\u6570\u636e\u5e93
  11. redis.database=10
  12. #\u6700\u5c0f\u7a7a\u95f2\u8fde\u63a5\u6570,\u9ed8\u8ba4\u503c\u4e3a0
  13. redis.minIdle=5
  14. #\u6700\u5927\u7a7a\u95f2\u8fde\u63a5\u6570 ,\u9ed8\u8ba4\u503c\u4e3a8
  15. redis.maxIdle=20
  16. #\u6700\u5927\u8fde\u63a5\u6570,\u9ed8\u8ba4\u503c\u4e3a8
  17. redis.maxTotal=200
  18. #\u6700\u5927\u7b49\u5f85\u6beb\u79d2,\u9ed8\u8ba4\u4e3a-1
  19. redis.maxWaitMillis=-1
  20. #\u5728\u83b7\u53d6\u8fde\u63a5\u7684\u65f6\u5019\u68c0\u67e5\u6709\u6548\u6027, \u9ed8\u8ba4false
  21. redis.testOnBorrow=true
  22. #\u9ed8\u8ba4\u503c0,\u6c38\u8fdc\u4e0d\u8fc7\u671f
  23. redis.defaultExpiration=0
  24. #\u8d85\u65f6\u65f6\u95f4
  25. redis.timeout=0