change it to start at 5 seconds so if nothing is happening it doesn't start spamming

This commit is contained in:
KodeStar 2018-02-08 20:02:26 +00:00
parent fff44f4681
commit 912c6512fb
2 changed files with 2 additions and 2 deletions

2
public/js/app.js vendored
View file

@ -22,7 +22,7 @@ $.when( $.ready ).then(function() {
var id = $(this).data('id');
var container = $(this);
var max_timer = 30000;
var timer = 1000;
var timer = 5000;
(function worker() {
$.ajax({
url: '/get_stats/'+id,

View file

@ -13,7 +13,7 @@ $.when( $.ready ).then(function() {
var id = $(this).data('id');
var container = $(this);
var max_timer = 30000;
var timer = 1000;
var timer = 5000;
(function worker() {
$.ajax({
url: '/get_stats/'+id,