[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonGlobals.m
From: |
mldonkey-commits |
Subject: |
[Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonGlobals.ml |
Date: |
Wed, 14 Sep 2005 10:35:51 -0400 |
Index: mldonkey/src/daemon/common/commonGlobals.ml
diff -u mldonkey/src/daemon/common/commonGlobals.ml:1.53
mldonkey/src/daemon/common/commonGlobals.ml:1.54
--- mldonkey/src/daemon/common/commonGlobals.ml:1.53 Thu Sep 8 12:30:28 2005
+++ mldonkey/src/daemon/common/commonGlobals.ml Wed Sep 14 14:35:44 2005
@@ -211,7 +211,7 @@
let download_control = TcpBufferedSocket.create_read_bandwidth_controler
"Download"
- (!!max_hard_download_rate * 2048) (* TODO: changed from 1024 to 2048
because of bug *)
+ (!!max_hard_download_rate * 1024)
let _ =
@@ -221,7 +221,7 @@
option_hook max_hard_download_rate (fun _ ->
let rate = !!max_hard_download_rate in
TcpBufferedSocket.change_rate download_control
- (rate * 2048)) (* TODO: changed from 1024 to 2048 because of bug *)
+ (rate * 1024))
let udp_write_controler = UdpSocket.new_bandwidth_controler upload_control