From 2fc49dc81ecaa11b44c296b03d66050fe5a74ac0 Mon Sep 17 00:00:00 2001 From: cat Date: Tue, 7 Jun 2016 14:17:42 +0200 Subject: [PATCH] LSP: cache update md5s for 1hr instead of 1day and delete the cache after requesting a rolling update --- lsp/minified.js | 6 +++--- lsp/mist.js | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lsp/minified.js b/lsp/minified.js index 56bebded..a4473969 100644 --- a/lsp/minified.js +++ b/lsp/minified.js @@ -74,9 +74,9 @@ b+'".
')}d.append("Saving protocol settings..
");mist.send(function(){d.ap {type:"span",label:"Version",pointer:{main:mist.data.config,index:"version"}},{type:"span",label:"Version check",value:i,LTSonly:!0},{type:"span",label:"Server time",value:p},{type:"span",label:"Current streams",value:m},{type:"span",label:"Current connections",value:f},$("
"),{type:"str",label:"Human readable name",pointer:{main:mist.data.config,index:"name"},help:"You can name your MistServer here for personal use. You'll still need to set host name within your network yourself."},{type:"debug", label:"Debug level",pointer:{main:mist.data.config,index:"debug"},help:"You can set the amount of debug information MistServer saves in the log. A full reboot of MistServer is required before some components of MistServer can post debug information."},{type:"checkbox",label:"Force configurations save",pointer:{main:mist.data,index:"save"},help:"Tick the box in order to force an immediate save to the config.json MistServer uses to save your settings. Saving will otherwise happen upon closing MistServer. Don't forget to press save after ticking the box."}, {type:"buttons",buttons:[{type:"save",label:"Save","function":function(){var a={config:mist.data.config};if(mist.data.save)a.save=mist.data.save;mist.send(function(){UI.navto("Overview")},a)}}]}]));if(mist.data.LTS){var n=function(){var a=mist.stored.get().update||{};"uptodate"in a?a.error?i.addClass("red").text(a.error):a.uptodate?i.text("Your version is up to date.").addClass("green"):i.addClass("red").text("Version outdated!").append($("