优化TOA

This commit is contained in:
刘祥超
2023-07-24 10:01:38 +08:00
parent fd7f3f4029
commit 3e60c9913a
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")
}