]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: use threading.Event instead of sleep 38277/head
authorBoris Ranto <branto@redhat.com>
Wed, 25 Nov 2020 19:49:48 +0000 (20:49 +0100)
committerBoris Ranto <branto@redhat.com>
Wed, 25 Nov 2020 19:49:50 +0000 (20:49 +0100)
commitdd5886c3c006e388283df50cc87addeffb3b2b52
tree11650145992af4edcd9e298b90eac33fc4706073
parent28a5c13bf993679e3098d73df27ded249f34dc99
mgr/prometheus: use threading.Event instead of sleep

This allows us to avoid waiting for the sleep to finish when waiting for
the thread to finish.

Signed-off-by: Boris Ranto <branto@redhat.com>
src/pybind/mgr/prometheus/module.py