From 912c6512fb1f9401d975c9d269e478267fc32d98 Mon Sep 17 00:00:00 2001 From: KodeStar Date: Thu, 8 Feb 2018 20:02:26 +0000 Subject: [PATCH] change it to start at 5 seconds so if nothing is happening it doesn't start spamming --- public/js/app.js | 2 +- resources/assets/js/app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/app.js b/public/js/app.js index aaf5f68a..baf029dc 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -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, diff --git a/resources/assets/js/app.js b/resources/assets/js/app.js index ffe6c18a..4d4a0cfa 100644 --- a/resources/assets/js/app.js +++ b/resources/assets/js/app.js @@ -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,