diff --git a/docs-parent/TODO b/docs-parent/TODO index a6640a3d..e69de29b 100644 --- a/docs-parent/TODO +++ b/docs-parent/TODO @@ -1 +0,0 @@ -- Show number of files on documents list (client) \ No newline at end of file diff --git a/docs-web/src/main/webapp/app/docs/controller/Navigation.js b/docs-web/src/main/webapp/app/docs/controller/Navigation.js index 43858a9a..7838ef4f 100644 --- a/docs-web/src/main/webapp/app/docs/controller/Navigation.js +++ b/docs-web/src/main/webapp/app/docs/controller/Navigation.js @@ -16,7 +16,7 @@ App.controller('Navigation', function($scope, $http, $state, $rootScope, User, R setInterval(function() { $scope.$apply(function() { Restangular.one('app/log').get({ - // Error count will be wrong if there is more than 10 errors in 10 seconds + // Error count will be wrong if there is more than 10 errors in 60 seconds limit: 10, level: 'ERROR' }).then(function(data) { @@ -32,7 +32,7 @@ App.controller('Navigation', function($scope, $http, $state, $rootScope, User, R $scope.lastLogCheck = new Date().getTime(); }); }) - }, 10000); + }, 60000); /** * Navigate to error logs. diff --git a/docs-web/src/main/webapp/partial/docs/document.html b/docs-web/src/main/webapp/partial/docs/document.html index 0b23b2c0..5ebb4555 100644 --- a/docs-web/src/main/webapp/partial/docs/document.html +++ b/docs-web/src/main/webapp/partial/docs/document.html @@ -30,7 +30,7 @@