延长节点执行任务超时时间

This commit is contained in:
刘祥超
2022-08-01 18:57:19 +08:00
parent c309da81ae
commit 285ce1b312

View File

@@ -125,7 +125,7 @@ func (this *NodeTaskService) FindNodeClusterTasks(ctx context.Context, req *pb.F
}
// 是否超时N秒内没有更新
if int64(task.UpdatedAt) < time.Now().Unix()-120 {
if int64(task.UpdatedAt) < time.Now().Unix()-180 {
task.IsDone = true
task.IsOk = false
task.Error = "节点响应超时"