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.
139
139
* @see https://github.com/winlinvip/simple-rtmp-server/issues/251
140
140
*/
141
141
#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
142
145
/* *
143
146
* whether use cond wait to send messages.
144
147
* @remark this improve performance for large connectios.
145
148
* @see https://github.com/winlinvip/simple-rtmp-server/issues/251
146
149
*/
147
150
#undef SRS_PERF_QUEUE_COND_WAIT
151
+ #ifdef SRS_PERF_QUEUE_COND_WAIT
152
+ #define SRS_PERF_MW_MIN_MSGS 8
153
+ #endif
148
154
149
155
/* *
150
156
* how many chunk stream to cache, [0, N].
You can’t perform that action at this time.
0 commit comments