2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

[2136] Update comment text

This commit is contained in:
Mukund Sivaraman
2012-08-08 11:02:03 +05:30
committed by Naoki Kambe
parent 4eb908f8e2
commit 1bbbf9d3e6

View File

@@ -491,12 +491,11 @@ class Stats:
""" """
handle show command handle show command
""" """
# decide if polling should be done by the the last time of # decide if polling should be done based on the the last time of
# polling. If more than one seconds past since the last # polling. If more than one second has passed since the last
# request to each module, the stats module requests each # request to each module, the stats module requests each module
# module statistics data and then shows the latest # statistics data and then shows the latest result. Otherwise,
# result. Otherwise, the stats module just shows statistics # the stats module just shows statistics data which it has.
# data which it has.
if get_timestamp() - self._lasttime_poll > 1.0: if get_timestamp() - self._lasttime_poll > 1.0:
self.do_polling() self.do_polling()
if owner or name: if owner or name: