Skip to content

Commit 73664b3

Browse files
committed
feat: disable status watching in tray menu
This can still cause high cpu consumption in cases where a kubernetes context is not reachable.
1 parent 12bc462 commit 73664b3

File tree

1 file changed

+2
-2
lines changed
  • plugins/plugin-codeflare/src/tray/menus/profiles

1 file changed

+2
-2
lines changed

Diff for: plugins/plugin-codeflare/src/tray/menus/profiles/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { Profiles } from "madwizard"
1818
import { MenuItemConstructorOptions } from "electron"
1919
import { CreateWindowFunction } from "@kui-shell/core"
2020

21-
import status from "./status"
21+
// import status from "./status"
2222
import tasks from "./tasks"
2323
import dashboards from "./dashboards"
2424
import activeRuns from "./active-runs"
@@ -40,7 +40,7 @@ async function profileMenu(
4040
label: profile,
4141
icon: profileIcon,
4242
submenu: [
43-
...section("Status", status(profile, updateFn)),
43+
// ...section("Status", status(profile, updateFn)),
4444
...section("Dashboards", await dashboards(profile, createWindow, updateFn)),
4545
...section("Tasks", tasks(profile, createWindow)),
4646
...section("Active Runs", await activeRuns(profile, createWindow, updateFn)),

0 commit comments

Comments
 (0)