diff --git a/trunk/src/app/srs_app_config.cpp b/trunk/src/app/srs_app_config.cpp index ae8989084..335c11bf1 100644 --- a/trunk/src/app/srs_app_config.cpp +++ b/trunk/src/app/srs_app_config.cpp @@ -2930,7 +2930,6 @@ srs_error_t SrsConfig::check_number_connections() int nb_canbe = max_open_files - nb_consumed_fds - 1; // for each play connections, we open a pipe(2fds) to convert SrsConsumver to io, - // refine performance, @see: https://github.com/ossrs/srs/issues/194 if (nb_total >= max_open_files) { srs_error("invalid max_connections=%d, required=%d, system limit to %d, " "total=%d(max_connections=%d, nb_consumed_fds=%d). " diff --git a/trunk/src/app/srs_app_rtmp_conn.cpp b/trunk/src/app/srs_app_rtmp_conn.cpp index cc7cc0b78..11f2cd48d 100644 --- a/trunk/src/app/srs_app_rtmp_conn.cpp +++ b/trunk/src/app/srs_app_rtmp_conn.cpp @@ -743,7 +743,6 @@ srs_error_t SrsRtmpConn::do_playing(SrsLiveSource* source, SrsLiveConsumer* cons #ifdef SRS_PERF_QUEUE_COND_WAIT // wait for message to incoming. - // @see https://github.com/ossrs/srs/issues/251 // @see https://github.com/ossrs/srs/issues/257 consumer->wait(mw_msgs, mw_sleep); #endif diff --git a/trunk/src/app/srs_app_source.hpp b/trunk/src/app/srs_app_source.hpp index 4f8e6d9b8..33a48f580 100644 --- a/trunk/src/app/srs_app_source.hpp +++ b/trunk/src/app/srs_app_source.hpp @@ -77,7 +77,6 @@ public: #ifdef SRS_PERF_QUEUE_FAST_VECTOR // To alloc and increase fixed space, fast remove and insert for msgs sender. -// @see https://github.com/ossrs/srs/issues/251 class SrsFastVector { private: @@ -177,7 +176,6 @@ private: bool should_update_source_id; #ifdef SRS_PERF_QUEUE_COND_WAIT // The cond wait for mw. - // @see https://github.com/ossrs/srs/issues/251 srs_cond_t mw_wait; bool mw_waiting; int mw_min_msgs; diff --git a/trunk/src/core/srs_core_performance.hpp b/trunk/src/core/srs_core_performance.hpp index ccef5b370..e91824fec 100644 --- a/trunk/src/core/srs_core_performance.hpp +++ b/trunk/src/core/srs_core_performance.hpp @@ -54,7 +54,6 @@ * @remark this largely improve performance, from 3.5k+ to 7.5k+. * the latency+ when cache+. * @remark the socket send buffer default to 185KB, it large enough. - * @see https://github.com/ossrs/srs/issues/194 * @see SrsConfig::get_mw_sleep_ms() * @remark the mw sleep and msgs to send, maybe: * mw_sleep msgs iovs @@ -89,24 +88,20 @@ /** * whether set the socket send buffer size. - * @see https://github.com/ossrs/srs/issues/251 */ #define SRS_PERF_MW_SO_SNDBUF /** * whether set the socket recv buffer size. - * @see https://github.com/ossrs/srs/issues/251 */ #undef SRS_PERF_MW_SO_RCVBUF /** * whether enable the fast vector for qeueue. - * @see https://github.com/ossrs/srs/issues/251 */ #define SRS_PERF_QUEUE_FAST_VECTOR /** * whether use cond wait to send messages. * @remark this improve performance for large connectios. - * @see https://github.com/ossrs/srs/issues/251 */ // TODO: FIXME: Should always enable it. #define SRS_PERF_QUEUE_COND_WAIT diff --git a/trunk/src/kernel/srs_kernel_consts.hpp b/trunk/src/kernel/srs_kernel_consts.hpp index bde0761bf..ef87b5575 100644 --- a/trunk/src/kernel/srs_kernel_consts.hpp +++ b/trunk/src/kernel/srs_kernel_consts.hpp @@ -79,7 +79,6 @@ #define SRS_CONSTS_RTMP_MAX_FMT3_HEADER_SIZE 5 // For performance issue, -// the iovs cache, @see https://github.com/ossrs/srs/issues/194 // iovs cache for multiple messages for each connections. // suppose the chunk size is 64k, each message send in a chunk which needs only 2 iovec, // so the iovs max should be (SRS_PERF_MW_MSGS * 2) @@ -87,7 +86,6 @@ // @remark, SRS will realloc when the iovs not enough. #define SRS_CONSTS_IOVS_MAX (SRS_PERF_MW_MSGS * 2) // For performance issue, -// the c0c3 cache, @see https://github.com/ossrs/srs/issues/194 // c0c3 cache for multiple messages for each connections. // each c0 <= 16byes, suppose the chunk size is 64k, // each message send in a chunk which needs only a c0 header, diff --git a/trunk/src/kernel/srs_kernel_flv.hpp b/trunk/src/kernel/srs_kernel_flv.hpp index c9387b40c..053a622ee 100644 --- a/trunk/src/kernel/srs_kernel_flv.hpp +++ b/trunk/src/kernel/srs_kernel_flv.hpp @@ -250,7 +250,6 @@ class SrsSharedPtrMessage // 4.1. Message Header public: // The header can shared, only set the timestamp and stream id. - // @see https://github.com/ossrs/srs/issues/251 //SrsSharedMessageHeader header; // Four-byte field that contains a timestamp of the message. // The 4 bytes are packed in the big-endian order. @@ -278,7 +277,6 @@ private: { public: // The shared message header. - // @see https://github.com/ossrs/srs/issues/251 SrsSharedMessageHeader header; // The actual shared payload. char* payload;