mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
[#1490] Increase the Alertmanager interval to 0.3s
The original 0.05 interval is causing excessive idle cpu usage
This commit is contained in:
parent
d8a00cf517
commit
19bc0fb468
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ log = logging.getLogger(__name__)
|
||||||
class AlertManager(component.Component):
|
class AlertManager(component.Component):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
log.debug("AlertManager initialized..")
|
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 = component.get("Core").session
|
||||||
|
|
||||||
self.session.set_alert_mask(
|
self.session.set_alert_mask(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue