forked from Limework/RediSkript
Fixed not reconnecting on redis 4* or higher
This commit is contained in:
@@ -35,7 +35,7 @@ public class RedisSub extends JedisPubSub implements Runnable{
|
||||
|
||||
|
||||
private void newJedis() {
|
||||
this.unsubscribe();
|
||||
//this.unsubscribe();
|
||||
this.j.close();
|
||||
while (true){
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user