diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-04-20 15:58:05 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-04-20 15:58:05 +0000 |
| commit | 536c07488b6ba3cae81b58813b665b742531f64c (patch) | |
| tree | 14bd7efa2674f358f0915032a417d8962ec2e342 /src/TrackerWatcherCommand.cc | |
| parent | 8203364972fede7b9a2bca09a935fee55efceb8e (diff) | |
To add some useful information to the exception message:
* src/SocketCore.cc : Updated messages.
* src/SegmentMan.cc :
* src/TorrentMan.cc : Updated messages.
* src/MultiDiskWriter.cc : Updated messages.
* src/Util.cc : Updated messages.
* src/AbstractDiskWriter.cc : Updated messages.
* src/PreAllocationDiskWriter.cc : Updated messages.
* src/message.cc : Added new messages. Updated some messages.
* src/TrackerWatcherCommand.h (MIN_PEERS): New definition.
* src/TrackerWatcherCommand.cc (execute): Use MIN_PEERS.
Updated threshold from 30 to 15.
* src/AbstractDiskWriter.h (filename): New variable.
* src/AbstractDiskWriter.cc (openExistingFile): Assigned
filename.
(createFile): Assigned filename.
* src/main.cc: Updated the help message for http-auth-scheme.
Diffstat (limited to 'src/TrackerWatcherCommand.cc')
| -rw-r--r-- | src/TrackerWatcherCommand.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TrackerWatcherCommand.cc b/src/TrackerWatcherCommand.cc index aaeb5258..a005c882 100644 --- a/src/TrackerWatcherCommand.cc +++ b/src/TrackerWatcherCommand.cc @@ -32,7 +32,7 @@ TrackerWatcherCommand::TrackerWatcherCommand(int cuid, TrackerWatcherCommand::~TrackerWatcherCommand() {} bool TrackerWatcherCommand::execute() { - if(e->torrentMan->trackers == 0 && e->torrentMan->connections < 30) { + if(e->torrentMan->trackers == 0 && e->torrentMan->connections < MIN_PEERS) { e->torrentMan->req->resetTryCount(); if(e->torrentMan->downloadComplete()) { |
