Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What should I do if the project is not connected when iBash4J is deployed and Redis cannot get a connection from JedisPool

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article shows you how to start a project when iBash4J deployment is not connected to Redis and can not get a connection from JedisPool. The content is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

The following is the configuration file

Redis.host=192.168.158.128redis.port=6379redis.password=# minimum free redis.minIdle=2# maximum free redis.maxIdle=10# maximum Dalian connections redis.maxTotal=100# maximum establishment connection waiting time redis.maxWaitMillis=8000# client timeout unit is millisecond redis.timeout=120000# whether the check is performed before the connection is removed from the pool, if the check fails Remove the connection from the pool and try to remove another redis.testOnBorrow=trueredis.expiration=600#redisclusterspring.redis.cluster.nodes=192.168.158.128:7001192.168.158.128:7002192.168.158.128:7003192.168.158.128:7004192.168.158.128:7005192.168.158.128:7006spring.redis.cluster.max-redirects=3#rediscluster The above is what to do when iBash4J deployment starts the project without a connection to Redis and cannot get a connection from JedisPool. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report