summaryrefslogtreecommitdiff
blob: c2730d1d004fb7dff0e30215aafa3fb6daa4fa07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Fix bug with error: KeyError: <type 'float'>

https://bugzilla.redhat.com/451496

--- a/BitTorrent/track.py
+++ b/BitTorrent/track.py
@@ -107,6 +107,8 @@ defaults = [
      _("scrape access allowed (can be none, specific or full)")),
     ('max_give', 200,
      _("maximum number of peers to give with any one request")),
+    ('max_incomplete', 100,
+     _("max number of outgoing incomplete connections")),
     ('twisted', -1,
      _("Use Twisted network libraries for network connections. 1 means use twisted, 0 means do not use twisted, -1 means autodetect, and prefer twisted")),
     ('pid', '/var/run/bittorrent-tracker.pid',