File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -139,12 +139,18 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
139139* @see https://github.com/winlinvip/simple-rtmp-server/issues/251
140140*/
141141#undef SRS_PERF_QUEUE_FAST_VECTOR
142+ #if defined(SRS_PERF_QUEUE_FAST_CACHE) && defined(SRS_PERF_QUEUE_FAST_VECTOR)
143+ #error "fast cache conflict with fast vector"
144+ #endif
142145/* *
143146* whether use cond wait to send messages.
144147* @remark this improve performance for large connectios.
145148* @see https://github.com/winlinvip/simple-rtmp-server/issues/251
146149*/
147150#undef SRS_PERF_QUEUE_COND_WAIT
151+ #ifdef SRS_PERF_QUEUE_COND_WAIT
152+ #define SRS_PERF_MW_MIN_MSGS 8
153+ #endif
148154
149155/* *
150156* how many chunk stream to cache, [0, N].
You can’t perform that action at this time.
0 commit comments