change useSSL to useTLS, because redis itself refers to it as TLS

This commit is contained in:
Govindass
2020-10-24 12:35:35 +03:00
parent f6c4bbcdce
commit 2b00f0908e
3 changed files with 7 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ public class RedisManager extends BinaryJedisPubSub implements Runnable {
config.getInt("Redis.Port"),
config.getInt("Redis.TimeOut"),
config.getString("Redis.Password"),
config.getBoolean("Redis.useSSL"));
config.getBoolean("Redis.useTLS"));
RedisService = Executors.newFixedThreadPool(config.getInt("Redis.Threads"));
try {
this.subscribeJedis = this.jedisPool.getResource();

View File

@@ -63,7 +63,7 @@ public class EffSendMessage extends Effect {
@Override
public String toString(Event event, boolean b) {
return "send redis message to channel " + channel.getSingle(event) + " with message " + message.getSingle(event);
return "send redis message " + message.getSingle(event) + " to channel " + channel.getSingle(event);
}
@SuppressWarnings("unchecked")