From: Naman Munet Date: Tue, 27 Aug 2024 07:18:09 +0000 (+0530) Subject: mgr/dashboard: improve prometheus service request handling X-Git-Tag: v20.0.0~1163^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F59448%2Fhead;p=ceph.git mgr/dashboard: improve prometheus service request handling Fixes: https://tracker.ceph.com/issues/67067 Signed-off-by: Naman Munet --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/multi-cluster/multi-cluster.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/multi-cluster/multi-cluster.component.ts index 0683a659ec537..c6c6a7c963daa 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/multi-cluster/multi-cluster.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/multi-cluster/multi-cluster.component.ts @@ -433,5 +433,6 @@ export class MultiClusterComponent implements OnInit, OnDestroy { ngOnDestroy(): void { this.subs.unsubscribe(); clearInterval(this.interval); + this.prometheusService.unsubscribe(); } }