Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion functions/enviroment/math-enviroment.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
}
Expand Down