mirror of https://github.com/aria2/aria2
2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Made DEFAULT_ANNOUNCE_INTERVAL 120, so that if first tracker request attempt is failed, then 2nd attempt get kicked out more quickly. And it is now static const member of DefaultBtAnnounce. * src/DefaultBtAnnounce.hpull/1/head
parent
d773613e93
commit
74d35644fb
|
@ -1,3 +1,10 @@
|
|||
2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
Made DEFAULT_ANNOUNCE_INTERVAL 120, so that if first tracker request
|
||||
attempt is failed, then 2nd attempt get kicked out more quickly.
|
||||
And it is now static const member of DefaultBtAnnounce.
|
||||
* src/DefaultBtAnnounce.h
|
||||
|
||||
2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
Renamed BtRuntime::lessThanMinPeers() and BtRuntime::lessThanEqMinPeers.
|
||||
|
|
|
@ -41,8 +41,6 @@
|
|||
|
||||
namespace aria2 {
|
||||
|
||||
#define DEFAULT_ANNOUNCE_INTERVAL 1800
|
||||
|
||||
class BtContext;
|
||||
class Option;
|
||||
class Logger;
|
||||
|
@ -69,6 +67,9 @@ private:
|
|||
SharedHandle<BtRuntime> btRuntime;
|
||||
SharedHandle<PieceStorage> pieceStorage;
|
||||
SharedHandle<PeerStorage> peerStorage;
|
||||
|
||||
static const unsigned int DEFAULT_ANNOUNCE_INTERVAL = 120;
|
||||
|
||||
public:
|
||||
DefaultBtAnnounce(const SharedHandle<BtContext>& btContext,
|
||||
const Option* option);
|
||||
|
|
Loading…
Reference in New Issue