优化TOA

This commit is contained in:
GoEdgeLab
2023-07-24 10:01:38 +08:00
parent 9f5dfec1c8
commit bd05b68966
6 changed files with 18 additions and 114 deletions

View File

@@ -90,6 +90,8 @@ func (this *Node) execTask(rpcClient *rpc.RPCClient, task *pb.NodeTask) error {
err = this.execUpdatingServersTask(rpcClient)
case "plusChanged":
err = this.notifyPlusChange()
case "toaChanged":
err = this.execTOAChangedTask()
default:
remotelogs.Error("NODE", "task '"+types.String(task.Id)+"', type '"+task.Type+"' has not been handled")
}