正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -55,7 +55,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | @@ -55,7 +55,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
| 55 | // for example, system-time is 3(300ms), | 55 | // for example, system-time is 3(300ms), |
| 56 | // then rusage can be 3*x, for instance, 3*10=30(3s), | 56 | // then rusage can be 3*x, for instance, 3*10=30(3s), |
| 57 | // the meminfo canbe 30*x, for instance, 30*2=60(6s) | 57 | // the meminfo canbe 30*x, for instance, 30*2=60(6s) |
| 58 | -#define SRS_SYS_CYCLE_INTERVAL 100 | 58 | +// for performance refine, @see: https://github.com/winlinvip/simple-rtmp-server/issues/194 |
| 59 | +#define SRS_SYS_CYCLE_INTERVAL 1000 | ||
| 59 | 60 | ||
| 60 | // update time interval: | 61 | // update time interval: |
| 61 | // SRS_SYS_CYCLE_INTERVAL * SRS_SYS_TIME_RESOLUTION_MS_TIMES | 62 | // SRS_SYS_CYCLE_INTERVAL * SRS_SYS_TIME_RESOLUTION_MS_TIMES |
-
请 注册 或 登录 后发表评论