Skip to content

Commit

Permalink
set default refresh interval to 15s
Browse files Browse the repository at this point in the history
  • Loading branch information
lmenezes committed Oct 17, 2017
1 parent 1a627f8 commit cc4d9e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2929,7 +2929,7 @@ angular.module('cerebro').factory('RefreshService',

var timestamp = new Date().getTime();

var interval = 5000;
var interval = 15000;

this.getInterval = function() {
return interval;
Expand Down
2 changes: 1 addition & 1 deletion public/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<i class="fa fa-fw fa-refresh"></i> {{refreshInterval | timeInterval}} <i class="fa fa-fw fa-caret-down"></i>
</a>
<ul class="dropdown-menu" style="min-width: 60px;">
<li ng-repeat="i in [3000, 5000, 10000, 15000, 30000, 60000] track by $index">
<li ng-repeat="i in [5000, 10000, 15000, 30000, 60000] track by $index">
<a class="nav-item nav-link" ng-click="setRefreshInterval(i)">
{{i | timeInterval}}
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/services/refresh.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ angular.module('cerebro').factory('RefreshService',

var timestamp = new Date().getTime();

var interval = 5000;
var interval = 15000;

this.getInterval = function() {
return interval;
Expand Down

0 comments on commit cc4d9e6

Please sign in to comment.