mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-12 14:15:22 +00:00
1 file changed
+1
-1
@@ -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