Add dict function #333

This commit is contained in:
hongqiaowei
2021-10-09 17:13:04 +08:00
committed by GitHub
parent 97f7b0b397
commit 0329558b48
8 changed files with 354 additions and 5 deletions

View File

@@ -65,10 +65,12 @@ public abstract class RedisReactiveConfig {
}
rcs.setDatabase(redisReactiveProperties.getDatabase());
GenericObjectPoolConfig poolConfig = new GenericObjectPoolConfig();
poolConfig.setMaxTotal(16);
LettucePoolingClientConfiguration ccs = LettucePoolingClientConfiguration.builder()
.clientResources(clientResources)
.clientOptions(ClientOptions.builder().publishOnScheduler(true).build())
.poolConfig(new GenericObjectPoolConfig())
.poolConfig(poolConfig)
.build();
return new LettuceConnectionFactory(rcs, ccs);