Fixed not reconnecting on redis 4* or higher

This commit is contained in:
ham1255
2020-05-12 14:35:30 +04:00
parent e634985b87
commit 8b4af2450c
2 changed files with 1 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ public class RedisSub extends JedisPubSub implements Runnable{
private void newJedis() {
this.unsubscribe();
//this.unsubscribe();
this.j.close();
while (true){
try {