2007-12-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

Changed the default value of PREF_PEER_CONNECTION_TIMEOUT and
	lowestSpeedLimit in ActivePeerConnectionCommand. TODO: Make them
	command-line options.
	* src/option_processing.cc
	* src/ActivePeerConnectionCommand.cc
pull/1/head
Tatsuhiro Tsujikawa 2007-12-25 12:40:45 +00:00
parent e707ba0a6c
commit eed41706fc
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2007-12-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Changed the default value of PREF_PEER_CONNECTION_TIMEOUT and
lowestSpeedLimit in ActivePeerConnectionCommand. TODO: Make them
command-line options.
* src/option_processing.cc
* src/ActivePeerConnectionCommand.cc
2007-12-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Send have message to peer if it already has the piece.

View File

@ -47,7 +47,7 @@ ActivePeerConnectionCommand::ActivePeerConnectionCommand(int cuid,
RequestGroupAware(requestGroup),
interval(interval),
e(e),
_lowestSpeedLimit(20*1024),
_lowestSpeedLimit(50*1024),
_numNewConnection(5)
{}

View File

@ -91,7 +91,7 @@ Option* option_processing(int argc, char* const argv[])
op->put(PREF_RETRY_WAIT, "5");
op->put(PREF_TIMEOUT, "60");
op->put(PREF_DNS_TIMEOUT, "10");
op->put(PREF_PEER_CONNECTION_TIMEOUT, "60");
op->put(PREF_PEER_CONNECTION_TIMEOUT, "20");
op->put(PREF_BT_TIMEOUT, "180");
op->put(PREF_BT_REQUEST_TIMEOUT, "60");
op->put(PREF_BT_KEEP_ALIVE_INTERVAL, "120");