mirror of
https://github.com/plexusorg/Plex.git
synced 2026-06-04 21:46:55 +00:00
Fix Redis hanging
This commit is contained in:
@@ -98,6 +98,7 @@ public class PunishedPlayer extends PlexBase
|
||||
Punishment punishment = Punishment.fromJson(obj.toString());
|
||||
punishments.add(punishment);
|
||||
});
|
||||
plugin.getRedisConnection().getJedis().close();
|
||||
return punishments;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user