From bda7bdee54487bd0c465763b8e16cea83379ee15 Mon Sep 17 00:00:00 2001 From: winlin Date: Tue, 14 Apr 2020 19:19:46 +0800 Subject: [PATCH] Change RTC realtime to 0 cache --- trunk/src/core/srs_core_performance.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/trunk/src/core/srs_core_performance.hpp b/trunk/src/core/srs_core_performance.hpp index ea077b89b..7cafa055e 100644 --- a/trunk/src/core/srs_core_performance.hpp +++ b/trunk/src/core/srs_core_performance.hpp @@ -129,10 +129,10 @@ #ifdef SRS_PERF_QUEUE_COND_WAIT // For RTMP, use larger wait queue. #define SRS_PERF_MW_MIN_MSGS 8 - #define SRS_PERF_MW_MIN_MSGS_REALTIME 4 + #define SRS_PERF_MW_MIN_MSGS_REALTIME 0 // For RTC, use smaller wait queue. - #define SRS_PERF_MW_MIN_MSGS_FOR_RTC 3 - #define SRS_PERF_MW_MIN_MSGS_FOR_RTC_REALTIME 1 + #define SRS_PERF_MW_MIN_MSGS_FOR_RTC 2 + #define SRS_PERF_MW_MIN_MSGS_FOR_RTC_REALTIME 0 #endif /** * the default value of vhost for