优化 redis multi 使用

This commit is contained in:
liangtongchuan
2021-08-02 18:07:28 +08:00
parent 19430162f4
commit abb74b9e6b
3 changed files with 3 additions and 7 deletions
@@ -201,7 +201,6 @@ export class EntryHandler {
let channelService = this.app.get('channelService');
let channel = channelService.getChannel(roleId, true);
channel.leave(roleId, sid);
// this.app.rpc.battle.battleRemote.kick.route(session)(roleId, this.app.get('serverId'), serverId);
this.app.rpc.chat.chatRemote.kickWorldChannel.route(session, true)(roleId, sid, serverId);
await leaveSysChannel(roleId, sid, serverId);
await leaveWorldChannel(roleId, sid, serverId);