URL:
  <http://savannah.nongnu.org/patch/?5363>

                 Summary: Limit max_hard_download_rate when
max_hard_upload_rate < 10
                 Project: mldonkey, a multi-networks file-sharing client
            Submitted by: spiralvoice
            Submitted on: Samstag 02.09.2006 um 18:09
                Category: Bug fixes
                Priority: 7 - High
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open

    _______________________________________________________

Details:

Here we implement the same scheme eMule uses for limiting bandwidth:

max_hard_upload_rate >= 10 -> unlimited download

max_hard_upload_rate bigger than 3 but smaller than 10:
max_hard_download_rate = max_hard_upload_rate * 4

max_hard_upload_rate smaller than 4:
max_hard_download_rate = max_hard_upload_rate * 3

Also this patch converts all negative values to zero.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Samstag 02.09.2006 um 18:09  Name: ratios.patch  Size: 1,54KB   By:
spiralvoice

<http://savannah.nongnu.org/patch/download.php?file_id=10671>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5363>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/



_______________________________________________
Mldonkey-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/mldonkey-users

Reply via email to