Adding remote_agent

This commit is contained in:
Kinesin Data Technologies Incorporated
2022-10-05 08:50:40 -03:00
parent 779852022a
commit 0d6cea4152
12 changed files with 305 additions and 40 deletions
+1 -11
View File
@@ -183,12 +183,9 @@ async fn start_agent_executor(
});
}
ExecuteTask {
task_name,
interval,
details,
varmap,
output_options,
storage,
response,
kill,
} => {
@@ -214,14 +211,7 @@ async fn start_agent_executor(
)
.await;
let rc = attempt.succeeded;
storage
.send(StorageMessage::StoreAttempt {
task_name,
interval,
attempt,
})
.unwrap();
response.send(rc).unwrap();
response.send(attempt).unwrap();
(tid, resources, rc)
}));
break;