mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
Merge branch 'patch-redeploy-contationer-in-multi-server' of https://gitee.com/diligents/PowerJob into pr-gitee-worker-cluster-bugfix
This commit is contained in:
commit
b5085e09f1
@ -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