mirror of
https://github.com/plexusorg/Plex.git
synced 2025-06-29 06:46:43 +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