Commit 0a3b07d0 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

Keep fetching if there is no status i.e: when task hasn't started yet

parent 439d21d9
......@@ -619,12 +619,18 @@ methods:{
}
let keepFetching=true;
for (const step in result.status){
if (result.status[step] !=="READY"){
setTimeout(this.getStatus, 5000);
keepFetching=true
break;
}else{
keepFetching=false;
}
}
if (keepFetching){
setTimeout(this.getStatus, 5000);
}
}).bind(this)).catch((function () {
setTimeout(this.getStatus, 10000);
}).bind(this));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment