mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 22:17:17 +00:00
Add SSL connection option for Redis
This commit is contained in:
1 parent
68daea3ce9
commit
ffc3706630
3 files changed
+9
-2
No files matched your search
@@ -27,13 +27,15 @@ public class RedisReceiver {
|
||||
jedisPool = new JedisPool(new JedisPoolConfig(),
|
||||
HuskHomes.getSettings().getRedisHost(),
|
||||
HuskHomes.getSettings().getRedisPort(),
|
||||
0);
|
||||
0,
|
||||
HuskHomes.getSettings().getRedisSSL());
|
||||
} else {
|
||||
jedisPool = new JedisPool(new JedisPoolConfig(),
|
||||
HuskHomes.getSettings().getRedisHost(),
|
||||
HuskHomes.getSettings().getRedisPort(),
|
||||
0,
|
||||
HuskHomes.getSettings().getRedisPassword());
|
||||
HuskHomes.getSettings().getRedisPassword(),
|
||||
HuskHomes.getSettings().getRedisSSL());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user