Fixed execution cleanup properly, including execution queue and abort issues

This commit is contained in:
frikky
2021-12-17 02:08:26 +01:00
parent 8dc950bbe0
commit ef6d38d3aa
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -864,7 +864,7 @@ const Admin = (props) => {
const abortEnvironmentWorkflows = (environment) => {
//console.log("Aborting all workflows started >10 minutes ago, not finished");
fetch(`${globalUrl}/api/v1/environments/${environment}/stop`, {
fetch(`${globalUrl}/api/v1/environments/${environment.id}/stop?deleteall=true`, {
method: "GET",
credentials: "include",
})
@@ -3809,7 +3809,7 @@ const Admin = (props) => {
? environment.running_ip === undefined ||
environment.running_ip === null ||
environment.running_ip.length === 0
? "Not started"
? "Not running"
: environment.running_ip
: "N/A"
}