improve automatic status refresh

This commit is contained in:
tdurieux
2022-10-04 09:41:44 +02:00
parent c05d6234eb
commit a386643009

View File

@@ -778,8 +778,8 @@ angular
} else if ($scope.repo.status == "anonymizing") {
$scope.progress = 75;
}
if ($scope.repo.status != "ready") {
setTimeout($scope.getStatus, 1000);
if ($scope.repo.status != "ready" && $scope.repo.status != "error") {
setTimeout($scope.getStatus, 2000);
}
},
(err) => {