Change the default backlog size to 10MB; I have seen the 1MB limit backfire a bit...
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 3 Jul 2014 22:54:18 +0000 (00:54 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 3 Jul 2014 22:54:18 +0000 (00:54 +0200)
config.cpp
state.proto

index cf32c24..0917961 100644 (file)
@@ -19,7 +19,7 @@
 
 using namespace std;
 
-#define DEFAULT_BACKLOG_SIZE 1048576
+#define DEFAULT_BACKLOG_SIZE 10485760
 
 struct ConfigLine {
        string keyword;
index 9f17e08..aba3581 100644 (file)
@@ -19,7 +19,7 @@ message StreamProto {
        optional bytes http_header = 6;
        optional bytes stream_header = 7;
        repeated int32 data_fds = 8;
-       optional int64 backlog_size = 5 [default=1048576];
+       optional int64 backlog_size = 5 [default=10485760];
        optional int64 bytes_received = 3;
        optional int64 last_suitable_starting_point = 9;
        optional string url = 4;