mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 05:47:50 +00:00
set bandwidth properly
This commit is contained in:
parent
77854fa4b2
commit
d5c91c58bb
@ -474,7 +474,8 @@ class DelugeGTK:
|
||||
self.tray.set_visible(self.config.get("enable_system_tray", bool))
|
||||
self.manager.set_pref("listen_on", [self.config.get("tcp_port_range_lower", int), self.config.get("tcp_port_range_upper", int)])
|
||||
self.manager.set_pref("max_uploads", self.config.get("max_number_uploads", int))
|
||||
self.manager.set_pref("max_download_rate", self.config.get("max_download_rate", int))
|
||||
self.manager.set_pref("max_upload_rate", 1024 * self.config.get("max_upload_rate", int))
|
||||
self.manager.set_pref("max_download_rate", 1024 * self.config.get("max_download_rate", int))
|
||||
self.manager.set_pref("max_connections", self.config.get("max_number_downloads", int))
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user