From 536eb1d7ae83f857cc94b611e9c072778cfbf4c0 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Wed, 30 Sep 2020 11:10:22 +0500 Subject: [PATCH] bypass the stuck domain --- plogical/IncScheduler.py | 4 ++-- static/backup/backup.js | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/plogical/IncScheduler.py b/plogical/IncScheduler.py index a2dc45bfc..8085cebb0 100644 --- a/plogical/IncScheduler.py +++ b/plogical/IncScheduler.py @@ -433,7 +433,7 @@ class IncScheduler(): if oldJobContinue and not doit: if domain == stuckDomain: doit = 1 - pass + continue else: continue @@ -542,7 +542,7 @@ Automatic backup failed for %s on %s. if oldJobContinue and not doit: if domain == stuckDomain: doit = 1 - pass + continue else: continue diff --git a/static/backup/backup.js b/static/backup/backup.js index 7998f52cf..01f010797 100644 --- a/static/backup/backup.js +++ b/static/backup/backup.js @@ -1585,6 +1585,7 @@ app.controller('scheduleBackup', function ($scope, $http, $window) { $scope.fetchJobs = function () { $scope.cyberPanelLoading = false; + $scope.jobsHidden = true; var config = { headers: { @@ -1642,7 +1643,7 @@ app.controller('scheduleBackup', function ($scope, $http, $window) { } }; var data = { - selectedAccount: $scope.selectedAccount, + selectedAccount: $scope.selectedAccountAdd, name: $scope.name, backupFrequency: $scope.backupFrequency };