]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix summary refresh call stack 25984/head
authorTiago Melo <tmelo@suse.com>
Fri, 11 Jan 2019 12:08:01 +0000 (11:08 -0100)
committerTiago Melo <tmelo@suse.com>
Wed, 23 Jan 2019 14:31:19 +0000 (14:31 +0000)
commit3eab11752072f5c6cccba4740ed6f6b52ffd3ff1
tree552af053d3583455f5267cd1a207cea2492a8a57
parent2b36b7f2f9f3414e4118dcf474bbd89f9b191874
mgr/dashboard: Fix summary refresh call stack

Currently each time we created a task it would call the summary refresh method.
Since that method was a recursive method, overtime we would get N calls to the
refresh each 5 seconds.

Signed-off-by: Tiago Melo <tmelo@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/shared/services/summary.service.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/services/summary.service.ts