Browse Source

[trac547] removed the parts of subscription/unsubscription for the stats module

Naoki Kambe 14 years ago
parent
commit
521c140da8
1 changed files with 0 additions and 8 deletions
  1. 0 8
      src/bin/stats/stats_httpd.py.in

+ 0 - 8
src/bin/stats/stats_httpd.py.in

@@ -167,9 +167,6 @@ class StatsHttpd:
         self.stats_module_spec = isc.config.module_spec_from_file(STATS_SPECFILE_LOCATION)
         self.stats_config_spec = self.stats_module_spec.get_config_spec()
         self.stats_module_name = self.stats_module_spec.get_module_name()
-        if self.verbose:
-            self.write_log("[b10-stats-httpd] Starts to subscribe stats module\n")
-        self.cc_session.group_subscribe(self.stats_module_name, "*")
 
     def close_mccs(self):
         """Closes a ModuleCCSession object"""
@@ -177,11 +174,6 @@ class StatsHttpd:
             return
         if self.verbose:
             self.write_log("[b10-stats-httpd] Closing CC Session\n")
-        try:
-            self.cc_session.group_unsubscribe(self.stats_module_name, "*")
-        except isc.cc.session.SessionError as se:
-            if self.verbose:
-                self.write_log("[b10-stats-httpd] Failed to unsubscribe stats module\n")
         self.mccs.close()
         self.mccs = None