Module: deluge
Branch: 1.3-stable
Commit: 9286d43ba8ef60f6c0b8382c5c459fc2d7e10e10

Author: Chase Sterling <[email protected]>
Date:   Fri Dec  7 23:10:09 2012 -0500

Increase libtorrent alert queue size. fix #2204

---

 ChangeLog           |    1 +
 deluge/core/core.py |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2755520..60e3ea3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,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 4ca3d96..42fa0f4 100644
--- a/deluge/core/core.py
+++ b/deluge/core/core.py
@@ -95,6 +95,8 @@ class Core(component.Component):
         # Set the user agent
         self.settings = lt.session_settings()
         self.settings.user_agent = "Deluge %s" % deluge.common.get_version()
+        # 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

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to