mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2025-06-16 18:35:05 +08:00
[fix] 修复客户端负载问题
This commit is contained in:
@ -119,6 +119,10 @@ public class ChannelContext {
|
||||
return null;
|
||||
}
|
||||
channels = channels.stream().filter(Channel::isActive).collect(Collectors.toList());
|
||||
if(ObjectUtils.isEmpty(channels)){
|
||||
return null;
|
||||
}
|
||||
// TODO 负载问题
|
||||
return channels.get(0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user