diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2014-07-04 10:20:55 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2014-07-04 19:17:16 +0100 |
commit | d6b44afb99817379f84b73f0ca16f3ce18ed5bbb (patch) | |
tree | 0b599eb02bbe2237922a5a7b5be154632c9cc154 | |
parent | 7597ba9343c1f6a18a536a0e3b9350d1c8d2cfad (diff) | |
download | deluge-d6b44afb99817379f84b73f0ca16f3ce18ed5bbb.tar.gz deluge-d6b44afb99817379f84b73f0ca16f3ce18ed5bbb.tar.bz2 deluge-d6b44afb99817379f84b73f0ca16f3ce18ed5bbb.zip |
[#1490] Increase the Alertmanager interval to 0.3s
The original 0.05 interval is causing excessive idle cpu usage
-rw-r--r-- | deluge/core/alertmanager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/core/alertmanager.py b/deluge/core/alertmanager.py index b55a99458..6f6f40371 100644 --- a/deluge/core/alertmanager.py +++ b/deluge/core/alertmanager.py @@ -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( |