2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +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
"""
# decide if polling should be done by the the last time of
# polling. If more than one seconds past since the last
# request to each module, the stats module requests each
# module statistics data and then shows the latest
# result. Otherwise, the stats module just shows statistics
# data which it has.
# decide if polling should be done based on the the last time of
# polling. If more than one second has passed since the last
# request to each module, the stats module requests each module
# statistics data and then shows the latest result. Otherwise,
# the stats module just shows statistics data which it has.
if get_timestamp() - self._lasttime_poll > 1.0:
self.do_polling()
if owner or name: