Springboot 配置redis鏈接池

    SpringBoot2.0默認採用Lettuce客戶端來鏈接Redis服務端的.默認是不使用鏈接池的,只有配置 redis.lettuce.pool下的屬性的時候才能夠使用到redis鏈接池。redis 導入依賴spring <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring
相關文章
相關標籤/搜索