From: Steinar H. Gunderson Date: Thu, 3 Jul 2014 22:54:18 +0000 (+0200) Subject: Change the default backlog size to 10MB; I have seen the 1MB limit backfire a bit... X-Git-Tag: 1.1.1~3 X-Git-Url: https://git.sesse.net/?p=cubemap;a=commitdiff_plain;h=dc65643396b05be480db104e5a6067cf0e0d375f Change the default backlog size to 10MB; I have seen the 1MB limit backfire a bit too many times for HD video now. --- diff --git a/config.cpp b/config.cpp index cf32c24..0917961 100644 --- a/config.cpp +++ b/config.cpp @@ -19,7 +19,7 @@ using namespace std; -#define DEFAULT_BACKLOG_SIZE 1048576 +#define DEFAULT_BACKLOG_SIZE 10485760 struct ConfigLine { string keyword; diff --git a/state.proto b/state.proto index 9f17e08..aba3581 100644 --- a/state.proto +++ b/state.proto @@ -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;