summaryrefslogtreecommitdiff
path: root/src/BtConstants.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-08-25 13:52:37 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-08-25 13:52:37 +0000
commit7633410ebffa61f36874c50faffd95f1dfdd1ed2 (patch)
tree5526d82da5535774aa7508a87e8a178d5c852dba /src/BtConstants.h
parenta478cfecc4f58eb4a70a9f4000dfdf0ebcda0857 (diff)
2010-08-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Set max outstanding request size to 100. Set stepping to 6. * src/BtConstants.h * src/DefaultBtInteractive.cc
Diffstat (limited to 'src/BtConstants.h')
-rw-r--r--src/BtConstants.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/BtConstants.h b/src/BtConstants.h
index 71020832..c9cea675 100644
--- a/src/BtConstants.h
+++ b/src/BtConstants.h
@@ -53,8 +53,10 @@ typedef std::map<std::string, uint8_t> Extensions;
#define DEFAULT_MAX_OUTSTANDING_REQUEST 6
+#define OUTSTANDING_REQUEST_STEP 6
+
// Upper Bound of the number of outstanding request
-#define UB_MAX_OUTSTANDING_REQUEST 24
+#define UB_MAX_OUTSTANDING_REQUEST 100
#define METADATA_PIECE_SIZE (16*1024)