mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-05-26 17:56:13 +00:00
fix[net]:修正一致性hash uid判断
This commit is contained in:
@@ -96,7 +96,7 @@ public class GatewayRouteHandler extends ServerRouteHandler {
|
||||
} else {
|
||||
// 使用用户的uid做一致性hash
|
||||
var uid = session.getUid();
|
||||
if (uid <= 0) {
|
||||
if (uid > 0) {
|
||||
forwardingPacket(packet, gatewayAttachment, uid);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user