From 19bc0fb4681760df87e1368876e38b18eeb580a0 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Fri, 4 Jul 2014 10:20:55 +0100 Subject: [PATCH] [#1490] Increase the Alertmanager interval to 0.3s The original 0.05 interval is causing excessive idle cpu usage --- deluge/core/alertmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/core/alertmanager.py b/deluge/core/alertmanager.py index 794ffb492..1e3c7007d 100644 --- a/deluge/core/alertmanager.py +++ b/deluge/core/alertmanager.py @@ -54,7 +54,7 @@ log = logging.getLogger(__name__) 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(