mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
for bug #194, set the server main cycle to 1s
This commit is contained in:
parent
2adf2550dc
commit
8cc9a11b81
1 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
// 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)
|
||||
#define SRS_SYS_CYCLE_INTERVAL 100
|
||||
// for performance refine, @see: https://github.com/winlinvip/simple-rtmp-server/issues/194
|
||||
#define SRS_SYS_CYCLE_INTERVAL 1000
|
||||
|
||||
// update time interval:
|
||||
// SRS_SYS_CYCLE_INTERVAL * SRS_SYS_TIME_RESOLUTION_MS_TIMES
|
||||
|
|
Loading…
Reference in a new issue