File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
src/main/java/org/swisspush/redisques/util Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 22 <modelVersion >4.0.0</modelVersion >
33 <groupId >org.swisspush</groupId >
44 <artifactId >redisques</artifactId >
5- <version >4.1.20 -SNAPSHOT</version >
5+ <version >4.1.21 -SNAPSHOT</version >
66 <name >redisques</name >
77 <description >
88 A highly scalable redis-persistent queuing system for vertx
Original file line number Diff line number Diff line change @@ -115,6 +115,12 @@ private Future<RedisAPI> connectToRedis() {
115115 .setMaxWaitingHandlers (redisMaxPipelineWaitingSize )
116116 .setType (config .getRedisClientType ());
117117
118+ if (config .getRedisEnableTls ()) {
119+ redisOptions .setNetClientOptions (redisOptions .getNetClientOptions ()
120+ .setSsl (true )
121+ .setHostnameVerificationAlgorithm ("HTTPS" ));
122+ }
123+
118124 createConnectStrings ().forEach (redisOptions ::addConnectionString );
119125
120126 redis = Redis .createClient (vertx , redisOptions );
You can’t perform that action at this time.
0 commit comments