全局配置有变化时也提示更新集群

This commit is contained in:
刘祥超
2020-11-02 10:45:07 +08:00
parent 3e2d8fab12
commit 373d821697
2 changed files with 350 additions and 186 deletions

View File

@@ -81,6 +81,9 @@ service ServerService {
// 计算使用某个分组的服务数量
rpc countAllEnabledServersWithGroupId (CountAllEnabledServersWithGroupIdRequest) returns (CountAllEnabledServersWithGroupIdResponse);
// 通知更新
rpc notifyServersChange (NotifyServersChangeRequest) returns (NotifyServersChangeResponse);
}
// 创建服务
@@ -299,3 +302,11 @@ message CountAllEnabledServersWithGroupIdResponse {
int64 count = 1;
}
// 通知更新
message NotifyServersChangeRequest {
}
message NotifyServersChangeResponse {
}