This commit is contained in:
2020-06-04 21:00:40 +00:00
parent 451301e755
commit f38ddc943c
2 changed files with 12 additions and 15 deletions

View File

@@ -6,10 +6,7 @@ WIFI change 5g channel to 52,56,60 and 2g channel to 8
recheck before doing as it seems to vary, maybe someone else's is auto switching recheck before doing as it seems to vary, maybe someone else's is auto switching
todo: MEMORY / RESOURCE LEAK APPARENT
Wasn't a leak, checked into it
I'm using and logging GC gen0-2 incorrectly and it's really not helping in any way so removing that stat
Keeping the other stats
todo: Block licensing related queries and view and auth from profile todo: Block licensing related queries and view and auth from profile

View File

@@ -465,13 +465,13 @@ function generateMenu(vm) {
helpUrl: "form-ops-metrics", helpUrl: "form-ops-metrics",
hideSearch: true, hideSearch: true,
menuItems: [ menuItems: [
{ // {
title: "DEV_TEST_COLLECT", // title: "DEV_TEST_COLLECT",
icon: "fa-bolt", // icon: "fa-bolt",
surface: true, // surface: true,
key: FORM_KEY + ":collect", // key: FORM_KEY + ":collect",
vm: vm // vm: vm
} // }
] ]
}; };
@@ -488,10 +488,10 @@ function clickHandler(menuItem) {
let m = window.$gz.menu.parseMenuItem(menuItem); let m = window.$gz.menu.parseMenuItem(menuItem);
if (m.owner == FORM_KEY && !m.disabled) { if (m.owner == FORM_KEY && !m.disabled) {
switch (m.key) { switch (m.key) {
case "collect": // case "collect":
//trigger garbage collection // //trigger garbage collection
window.$gz.api.get("server-metric/collect"); // window.$gz.api.get("server-metric/collect");
break; // break;
default: default:
window.$gz.eventBus.$emit( window.$gz.eventBus.$emit(
"notify-warning", "notify-warning",