From bcac44bcb4ea8471a9e915e9e589c1012a515fc0 Mon Sep 17 00:00:00 2001 From: Chase Sterling Date: Fri, 7 Dec 2012 00:24:34 -0500 Subject: [PATCH] Increase libtorrent alert queue size. refs #2204 --- ChangeLog | 1 + deluge/core/core.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index ba4c8133b..b1062d393 100644 --- a/ChangeLog +++ b/ChangeLog @@ -51,6 +51,7 @@ * #2201: Fix error in authmanager if auth file has extra newlines * #2109: Fix the Proxy settings not being cleared by setting None * #2110: Fix accepting magnet uris with xt param anywhere within them + * #2204: Fix daemon shutdown hang ==== GtkUI ==== * Add move completed option to add torrent dialog diff --git a/deluge/core/core.py b/deluge/core/core.py index e69944790..242359a9d 100644 --- a/deluge/core/core.py +++ b/deluge/core/core.py @@ -94,6 +94,8 @@ class Core(component.Component): self.settings.user_agent = "Deluge/%(deluge_version)s Libtorrent/%(lt_version)s" % \ { 'deluge_version': deluge.common.get_version(), 'lt_version': self.get_libtorrent_version().rpartition(".")[0] } + # Increase the alert queue size so that alerts don't get lost + self.settings.alert_queue_size = 10000 # Set session settings self.settings.send_redundant_have = True