]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/telemetry: wake up serve on config change
authorSage Weil <sage@redhat.com>
Thu, 25 Jul 2019 21:45:23 +0000 (16:45 -0500)
committerSage Weil <sage@redhat.com>
Wed, 6 Nov 2019 12:41:50 +0000 (06:41 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 3055d6cb9b71c9d580cd2cd9656bd90f7d270a5c)

src/pybind/mgr/telemetry/module.py

index 2d60beb30002075bbd90ff6eaf3316973f4ee454..2a8cb434f54dcf6dbb17b8e8f7f2076ec7e54f91 100644 (file)
@@ -179,6 +179,8 @@ class Module(MgrModule):
                     opt['name'],
                     self.get_module_option(opt['name']))
             self.log.debug(' %s = %s', opt['name'], getattr(self, opt['name']))
+        # wake up serve() thread
+        self.event.set()
 
     @staticmethod
     def parse_timestamp(timestamp):