mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Support config the mw_sleep and mw_msgs
This commit is contained in:
parent
b0566d51ef
commit
08312ddc42
10 changed files with 132 additions and 71 deletions
|
@ -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 0
|
||||
// For RTC, use smaller wait queue.
|
||||
#define SRS_PERF_MW_MIN_MSGS_FOR_RTC 2
|
||||
#define SRS_PERF_MW_MIN_MSGS_FOR_RTC_REALTIME 0
|
||||
#define SRS_PERF_MW_MIN_MSGS_FOR_RTC 1
|
||||
// For Real-Time, never wait messages.
|
||||
#define SRS_PERF_MW_MIN_MSGS_REALTIME 0
|
||||
#endif
|
||||
/**
|
||||
* the default value of vhost for
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue