Increase libtorrent alert queue size. refs #2204

This commit is contained in:
Chase Sterling 2012-12-07 00:24:34 -05:00
parent 58cb9e1c22
commit bcac44bcb4
2 changed files with 3 additions and 0 deletions

View File

@ -51,6 +51,7 @@
* #2201: Fix error in authmanager if auth file has extra newlines * #2201: Fix error in authmanager if auth file has extra newlines
* #2109: Fix the Proxy settings not being cleared by setting None * #2109: Fix the Proxy settings not being cleared by setting None
* #2110: Fix accepting magnet uris with xt param anywhere within them * #2110: Fix accepting magnet uris with xt param anywhere within them
* #2204: Fix daemon shutdown hang
==== GtkUI ==== ==== GtkUI ====
* Add move completed option to add torrent dialog * Add move completed option to add torrent dialog

View File

@ -94,6 +94,8 @@ class Core(component.Component):
self.settings.user_agent = "Deluge/%(deluge_version)s Libtorrent/%(lt_version)s" % \ self.settings.user_agent = "Deluge/%(deluge_version)s Libtorrent/%(lt_version)s" % \
{ 'deluge_version': deluge.common.get_version(), { 'deluge_version': deluge.common.get_version(),
'lt_version': self.get_libtorrent_version().rpartition(".")[0] } '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 # Set session settings
self.settings.send_redundant_have = True self.settings.send_redundant_have = True