mirror of
https://github.com/ansible/awx.git
synced 2026-06-30 19:08:02 -02:30
Removed auto refresh. It polls too frequently and potential fills web server logs too quickly.
This commit is contained in:
@@ -82,7 +82,7 @@ function JobsListCtrl ($scope, $rootScope, $location, $log, $routeParams, Rest,
|
||||
|
||||
scope.refresh = function() {
|
||||
scope['jobSearchSpin'] = true;
|
||||
scope['jobLoading'] = true;
|
||||
scope['jobLoading'] = false;
|
||||
Refresh({ scope: scope, set: 'jobs', iterator: 'job', url: scope['current_url'] });
|
||||
}
|
||||
|
||||
|
||||
@@ -202,7 +202,7 @@ function ProjectsList ($scope, $rootScope, $location, $log, $routeParams, Rest,
|
||||
|
||||
scope.refresh = function() {
|
||||
scope['projectSearchSpin'] = true;
|
||||
scope['projectLoading'] = true;
|
||||
scope['projectLoading'] = false;
|
||||
Refresh({ scope: scope, set: 'projects', iterator: 'project', url: scope['current_url'] });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user