mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-22 12:28:05 +00:00
Fix type errors with CPUUsageMonitor subclasses with float POLL_INTERVAL.
This commit is contained in:
parent
572d7b2e02
commit
b1b3a23415
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user