mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Apply time unit
This commit is contained in:
parent
7037f6a197
commit
6239dfa489
15 changed files with 46 additions and 46 deletions
|
@ -76,7 +76,7 @@ void SrsNgExec::on_unpublish()
|
|||
}
|
||||
|
||||
// when error, ng-exec sleep for a while and retry.
|
||||
#define SRS_RTMP_EXEC_CIMS (3000)
|
||||
#define SRS_RTMP_EXEC_CIMS (3000 * SRS_UTIME_MILLISECONDS)
|
||||
srs_error_t SrsNgExec::cycle()
|
||||
{
|
||||
srs_error_t err = srs_success;
|
||||
|
@ -92,7 +92,7 @@ srs_error_t SrsNgExec::cycle()
|
|||
break;
|
||||
}
|
||||
|
||||
srs_usleep(SRS_RTMP_EXEC_CIMS * 1000);
|
||||
srs_usleep(SRS_RTMP_EXEC_CIMS);
|
||||
}
|
||||
|
||||
std::vector<SrsProcess*>::iterator it;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue