From ff42ebe0b275170ef2a5ba7b304c8dd25a641600 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Fri, 9 Jan 2009 04:21:26 +0000 Subject: [PATCH] Set 'max_half_open_connections' default to 50 on non-Windows systems --- deluge/core/preferencesmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/core/preferencesmanager.py b/deluge/core/preferencesmanager.py index 33e2ef212..259b85f9d 100644 --- a/deluge/core/preferencesmanager.py +++ b/deluge/core/preferencesmanager.py @@ -68,7 +68,7 @@ DEFAULT_PREFS = { "max_download_speed": -1.0, "max_upload_slots_global": 4, "max_half_open_connections": (lambda: deluge.common.windows_check() and - (lambda: deluge.common.vista_check() and 4 or 8)() or -1)(), + (lambda: deluge.common.vista_check() and 4 or 8)() or 50)(), "max_connections_per_second": 20, "ignore_limits_on_local_network": True, "max_connections_per_torrent": -1,