Fix type errors with CPUUsageMonitor subclasses with float POLL_INTERVAL.

This commit is contained in:
Jason R. Coombs 2020-11-29 15:56:39 -05:00
parent 572d7b2e02
commit b1b3a23415

View File

@ -78,7 +78,7 @@ class LoadMonitor(service.MultiService):
@implementer(IStatsProducer)
class CPUUsageMonitor(service.MultiService):
HISTORY_LENGTH = 15
POLL_INTERVAL = 60
POLL_INTERVAL = 60 # type: float
def __init__(self):
service.MultiService.__init__(self)