kyma-project / busola

Web based Kubernetes Dashboard with a focus on privacy that requires no active components or special privileges in your cluster.
Apache License 2.0
24 stars 48 forks source link

The browser tab for the Busola dashboard is consuming 100% cpu after sometime of leaving it open #3296

Open akucharska opened 2 weeks ago

akucharska commented 2 weeks ago

Description The browser tab for the Busola dashboard is consuming 100% cpu after sometime of leaving it open

Expected result

Actual result

Steps to reproduce (1) log in to the Kyma dashboard and navigate to any page, (2) put the computer to sleep for >1h, (3) observe that the tab navigates to https://dashboard.kyma.cloud.sap/clusters and CPU consumption increases to 100%.

Troubleshooting

mrCherry97 commented 2 weeks ago

there is probably problem with polling when the backend is throwing error, need to add error to this if: https://github.com/kyma-project/busola/blob/main/src/shared/hooks/BackendAPI/useGet.js#L103 need to try to fix the silentRefetch function