auth-dev.properties 1.2 KB

12345678910111213141516171819202122
  1. spring.redis.database=1
  2. # Redis server host.
  3. #spring.redis.cluster.nodes=10.128.151.130:6180,10.128.151.6:6180,10.128.151.48:6180
  4. spring.redis.cluster.nodes=111.47.11.70:6180,111.47.11.70:6181,111.47.11.70:6179
  5. # Login password of the redis server.
  6. spring.redis.password=fiberhome_cict
  7. # Max number of connections that can be allocated by the pool at a given time. Use a negative value for no limit.
  8. spring.redis.pool.max-active=500
  9. # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  10. spring.redis.pool.max-idle=100
  11. # Maximum amount of time (in milliseconds) a connection allocation should block before throwing an exception when the pool is exhausted. Use a negative value to block indefinitely.
  12. spring.redis.pool.max-wait=-1
  13. # Target for the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive.
  14. spring.redis.pool.min-idle=10
  15. # Redis server port.
  16. # Name of Redis server.
  17. #spring.redis.sentinel.master=
  18. # Comma-separated list of host:port pairs.
  19. #spring.redis.sentinel.nodes=
  20. # Connection timeout in milliseconds.
  21. spring.redis.timeout=10000
  22. spring.redis.test-on-borrow=true