From ebf0ecc3c068b823207e231dde0fc705d1f6d8d6 Mon Sep 17 00:00:00 2001 From: BenDroid Date: Mon, 18 Dec 2017 22:02:06 +0100 Subject: [PATCH] Fixed Memory Leaks #7 in XMRigCCServer + Little cleanup in dashboard --- index.html | 8 ++++---- src/cc/Httpd.cpp | 48 ++++++++++++++++++++++++++++------------------ src/cc/Service.cpp | 6 +++--- 3 files changed, 36 insertions(+), 26 deletions(-) diff --git a/index.html b/index.html index 59d89f4c..bc8a4875 100644 --- a/index.html +++ b/index.html @@ -339,13 +339,13 @@ success: function(data){ $("#statusBar").html(''); + 'Successfully saved config for: ' + clientId + ' - You need push the config to the client to apply the config.'); window.setTimeout(function() { $(".alert-success").fadeTo(500, 0).slideUp(500, function(){ $(".alert-success").alert('close'); }); - }, 2500); + }, 5000); }, error: function (data) { $("#statusBar").html(''); window.setTimeout(function() { $(".alert-success").fadeTo(500, 0).slideUp(500, function(){ $(".alert-success").alert('close'); }); - }, 2500); + }, 5000); }, error: function (data) { $("#statusBar").html('