mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
set bandwidth properly
This commit is contained in:
parent
77854fa4b2
commit
d5c91c58bb
1 changed files with 2 additions and 1 deletions
|
@ -474,7 +474,8 @@ class DelugeGTK:
|
||||||
self.tray.set_visible(self.config.get("enable_system_tray", bool))
|
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("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_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))
|
self.manager.set_pref("max_connections", self.config.get("max_number_downloads", int))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue