mirror of https://github.com/aria2/aria2
2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Changed interval from 120 to 60 for dropping inactive peer. * src/DefaultBtInteractive.ccpull/1/head
parent
fa9d51417e
commit
9c23aa5aeb
|
@ -1,3 +1,8 @@
|
|||
2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Changed interval from 120 to 60 for dropping inactive peer.
|
||||
* src/DefaultBtInteractive.cc
|
||||
|
||||
2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Updated man page for --user-agent and --peer-id-prefix option.
|
||||
|
|
|
@ -400,7 +400,7 @@ void DefaultBtInteractive::checkActiveInteraction()
|
|||
// mutual download progress are completely waste of resources, those peers
|
||||
// are disconnected in a certain time period.
|
||||
{
|
||||
const time_t interval = 2*60;
|
||||
const time_t interval = 60;
|
||||
if(inactiveCheckPoint.elapsed(interval)) {
|
||||
throw DL_ABORT_EX
|
||||
(StringFormat(EX_DROP_INACTIVE_CONNECTION, interval).str());
|
||||
|
|
Loading…
Reference in New Issue