From 84045aa4857f1006bbf59221a3842ff54972be44 Mon Sep 17 00:00:00 2001 From: Davide Bortolami Date: Thu, 4 May 2017 01:15:35 +0200 Subject: [PATCH 1/2] Increase garbage collection time to 120 seconds --- functions/enviroment/math-enviroment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/enviroment/math-enviroment.js b/functions/enviroment/math-enviroment.js index 9240453..5d39d75 100644 --- a/functions/enviroment/math-enviroment.js +++ b/functions/enviroment/math-enviroment.js @@ -28,7 +28,7 @@ module.exports.exists = function (envName) { var interval = setInterval (function (enviroment) { var now = Date.now() / 1000; for (var key in enviroment) { - if (typeof enviroment[key] !== 'function' && now - enviroment[key].last_request > 10) { + if (typeof enviroment[key] !== 'function' && now - enviroment[key].last_request > 120) { delete enviroment[key]; } } From 849a2629d448ebffae8d5b906a38201234f30711 Mon Sep 17 00:00:00 2001 From: Davide Bortolami Date: Wed, 24 May 2017 00:45:46 +0200 Subject: [PATCH 2/2] CI testing --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cdee25a..2b62e0d 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Mathlion is a Kibana extension that enables equation parsing and advanced math under Timelion. Check out what it can do in the [documentation](http://mathlion.docs.fermiumlabs.com/) -### Installation +### Installation Copy the last installation url for your version of Kibana from [the repository releases](https://github.com/fermiumlabs/mathlion/releases/latest). The file follows the naming `mathlion-major.minor.patch_for_kibana-major.minor.patch.zip` where the first version is the one of mathlion, the second version indicated it's the one in Kibana.