add more global-bandwith settings

This commit is contained in:
Martijn Voncken 2008-07-20 05:51:36 +00:00
parent 4ebba67fa4
commit ddf79fb062
1 changed files with 5 additions and 0 deletions

View File

@ -104,6 +104,11 @@ class BandwithGlobal(config_forms.CfgForm):
max_upload_speed = forms.DelugeFloat(_("Maximum Upload Speed (Kib/s)")) max_upload_speed = forms.DelugeFloat(_("Maximum Upload Speed (Kib/s)"))
max_upload_slots_global = forms.DelugeInt(_("Maximum Upload Slots")) max_upload_slots_global = forms.DelugeInt(_("Maximum Upload Slots"))
max_half_open_connections = forms.DelugeInt(_("Maximum Half-Open Connections"))
max_connections_per_second = forms.DelugeInt(_("Maximum Connection Attempts per Second"))
ignore_limits_on_local_network = forms.CheckBox("Ignore limits on local network")
config_page.register('bandwidth','global', BandwithGlobal) config_page.register('bandwidth','global', BandwithGlobal)
class BandwithTorrent(config_forms.CfgForm): class BandwithTorrent(config_forms.CfgForm):