change it to start at 5 seconds so if nothing is happening it doesn't start spamming
This commit is contained in:
parent
fff44f4681
commit
912c6512fb
2
public/js/app.js
vendored
2
public/js/app.js
vendored
|
@ -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,
|
||||
|
|
2
resources/assets/js/app.js
vendored
2
resources/assets/js/app.js
vendored
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue