mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
Merge branch 'pr-gitee-worker-cluster-bugfix' into 4.3.5
This commit is contained in:
commit
74a92622a3
@ -75,6 +75,7 @@ public class WorkerClusterQueryService {
|
||||
* @param appId appId
|
||||
* @return alive workers
|
||||
*/
|
||||
@DesignateServer
|
||||
public List<WorkerInfo> getAllAliveWorkers(Long appId) {
|
||||
List<WorkerInfo> workers = Lists.newLinkedList(getWorkerInfosByAppId(appId).values());
|
||||
workers.removeIf(WorkerInfo::timeout);
|
||||
|
Loading…
x
Reference in New Issue
Block a user