mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2025-06-06 13:27:55 +08:00
[fix] 修复客户端负载问题
This commit is contained in:
parent
a019561c06
commit
7da5f58263
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user