mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2026-04-07 15:40:26 +00:00
Removed pipelining and other fixes.
This commit is contained in:
@@ -335,11 +335,8 @@ public final class RedisBungee extends Plugin {
|
||||
tmpRsc.hdel("heartbeats", serverId);
|
||||
if (tmpRsc.scard("proxy:" + serverId + ":usersOnline") > 0) {
|
||||
Set<String> players = tmpRsc.smembers("proxy:" + serverId + ":usersOnline");
|
||||
Pipeline pipeline = tmpRsc.pipelined();
|
||||
for (String member : players)
|
||||
RedisUtil.cleanUpPlayer(member, pipeline);
|
||||
|
||||
pipeline.sync();
|
||||
RedisUtil.cleanUpPlayer(member, tmpRsc);
|
||||
}
|
||||
} finally {
|
||||
pool.returnResource(tmpRsc);
|
||||
|
||||
Reference in New Issue
Block a user