节点配置支持压缩传输

This commit is contained in:
GoEdgeLab
2021-11-11 14:17:45 +08:00
parent 3d8d2438bc
commit 0526b8ff34
4 changed files with 550 additions and 483 deletions

View File

@@ -241,11 +241,15 @@ message FindEnabledBasicNodeResponse {
message FindCurrentNodeConfigRequest {
// 由于登录信息中已经包含了节点信息所以这里不需要nodeId
int64 version = 1;
bool compress = 2; // 是否压缩
int64 nodeTaskVersion = 3; // 通知任务版本
}
message FindCurrentNodeConfigResponse {
bytes nodeJSON = 1;
bool isChanged = 2;
bool isCompressed = 3;
int64 dataSize = 4;
}
// 节点stream