1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Refine comments

This commit is contained in:
winlin 2021-04-05 12:14:26 +08:00
parent 237c1e4d3d
commit 1ee77614fb
3 changed files with 9 additions and 9 deletions

View file

@ -112,7 +112,7 @@ int _st_io_init(void)
/**
* by SRS, for osx.
* when rlimit max is negative, for example, osx, use cur directly.
* @see https://github.com/winlinvip/simple-rtmp-server/issues/336
* @see https://github.com/ossrs/srs/issues/336
*/
if ((int)rlim.rlim_max < 0) {
_st_osfd_limit = (int)(fdlim > 0? fdlim : rlim.rlim_cur);