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
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

View File

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