[#1490] Increase the Alertmanager interval to 0.3s

The original 0.05 interval is causing excessive idle cpu usage
This commit is contained in:
Calum Lind 2014-07-04 10:20:55 +01:00
parent 7597ba9343
commit d6b44afb99

View File

@ -51,7 +51,7 @@ from deluge.log import LOG as log
class AlertManager(component.Component):
def __init__(self):
log.debug("AlertManager initialized..")
component.Component.__init__(self, "AlertManager", interval=0.05)
component.Component.__init__(self, "AlertManager", interval=0.3)
self.session = component.get("Core").session
self.session.set_alert_mask(