mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine code for bug #194, add comments to macros.
This commit is contained in:
parent
cc6aca9ad5
commit
4af2e78c59
5 changed files with 34 additions and 8 deletions
|
@ -50,12 +50,13 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#define SERVER_LISTEN_BACKLOG 512
|
||||
|
||||
// system interval
|
||||
// system interval in ms,
|
||||
// all resolution times should be times togother,
|
||||
// for example, system-time is 3(300ms),
|
||||
// then rusage can be 3*x, for instance, 3*10=30(3s),
|
||||
// the meminfo canbe 30*x, for instance, 30*2=60(6s)
|
||||
// for performance refine, @see: https://github.com/winlinvip/simple-rtmp-server/issues/194
|
||||
// @remark, recomment to 1000ms.
|
||||
#define SRS_SYS_CYCLE_INTERVAL 1000
|
||||
|
||||
// update time interval:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue