Merge pull request #53 from zaoaz/main

fix[net]:修正一致性hash uid判断
This commit is contained in:
godotg authored and GitHub committed 2023-03-22 16:29:27 +08:00
commit c9121312f4
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;
}