From a386643009a7fe493d190d0537ecd8d78cfbfd43 Mon Sep 17 00:00:00 2001 From: tdurieux Date: Tue, 4 Oct 2022 09:41:44 +0200 Subject: [PATCH] improve automatic status refresh --- public/script/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/script/app.js b/public/script/app.js index 7374fec..9965098 100644 --- a/public/script/app.js +++ b/public/script/app.js @@ -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) => {