Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
521c140d
Commit
521c140d
authored
Apr 22, 2011
by
Naoki Kambe
Browse files
[trac547] removed the parts of subscription/unsubscription for the stats module
parent
7b167758
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/stats/stats_httpd.py.in
View file @
521c140d
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment