This repository was archived by the owner on May 19, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed
src/main/java/com/redislabs/springredisearch Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change 5050 <artifactId >lombok</artifactId >
5151 <optional >true</optional >
5252 </dependency >
53- <dependency >
54- <groupId >io.lettuce</groupId >
55- <artifactId >lettuce-core</artifactId >
56- <version >5.2.0.BUILD-SNAPSHOT</version >
57- </dependency >
5853 <dependency >
5954 <groupId >org.apache.commons</groupId >
6055 <artifactId >commons-pool2</artifactId >
6156 </dependency >
6257 <dependency >
6358 <groupId >com.redislabs</groupId >
6459 <artifactId >lettusearch</artifactId >
65- <version >1.0.3-SNAPSHOT </version >
60+ <version >1.0.3</version >
6661 </dependency >
6762 <dependency >
6863 <groupId >org.springframework.boot</groupId >
Original file line number Diff line number Diff line change 1414import com .redislabs .lettusearch .RediSearchClient ;
1515import com .redislabs .lettusearch .StatefulRediSearchConnection ;
1616
17- import io .lettuce .core .ClientOptions ;
1817import io .lettuce .core .RedisURI ;
1918import io .lettuce .core .resource .ClientResources ;
2019import io .lettuce .core .resource .DefaultClientResources ;
@@ -37,7 +36,6 @@ public class RediSearchConfiguration {
3736 private Integer port ;
3837 private String password ;
3938 private Duration timeout ;
40- private boolean publishOnScheduler ;
4139 private int poolSize = 1 ;
4240
4341 @ Bean (destroyMethod = "shutdown" )
@@ -56,9 +54,7 @@ RediSearchClient client(ClientResources clientResources) {
5654 if (timeout != null ) {
5755 redisURI .setTimeout (timeout );
5856 }
59- RediSearchClient client = RediSearchClient .create (clientResources , redisURI );
60- client .setOptions (ClientOptions .builder ().publishOnScheduler (publishOnScheduler ).build ());
61- return client ;
57+ return RediSearchClient .create (clientResources , redisURI );
6258 }
6359
6460 @ Bean (destroyMethod = "close" )
You can’t perform that action at this time.
0 commit comments