mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-12 18:32:44 +00:00
improve automatic status refresh
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user