在缓存任务键值中增加集群信息

This commit is contained in:
刘祥超
2024-03-10 11:24:50 +08:00
parent 704d3af982
commit 5a54390f1d
3 changed files with 56 additions and 34 deletions

View File

@@ -3,6 +3,8 @@ option go_package = "./pb";
package pb;
import "models/model_node_cluster.proto";
message HTTPCacheTaskKey {
int64 id = 1; // 缓存键ID
int64 taskId = 2; // 任务ID
@@ -13,4 +15,6 @@ message HTTPCacheTaskKey {
bool isDoing = 9; // 是否执行中
bytes errorsJSON = 7; // 错误信息
int64 nodeClusterId = 8; // 所属集群ID
NodeCluster nodeCluster = 30; // 所属集群,不一定有内容
}