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

refine ingester pithy print

This commit is contained in:
winlin 2014-04-29 09:57:59 +08:00
parent cb2959ae7d
commit fd0efecbc8
3 changed files with 8 additions and 5 deletions

View file

@ -345,12 +345,11 @@ void SrsIngester::ingester()
}
// reportable
if (!pithy_print->can_print()) {
return;
if (pithy_print->can_print()) {
// TODO: FIXME: show more info.
srs_trace("-> "SRS_LOG_ID_INGESTER
" time=%"PRId64", ingesters=%d", pithy_print->age(), (int)ingesters.size());
}
// TODO: FIXME: show more info.
srs_trace("-> time=%"PRId64", ingesters=%d", pithy_print->age(), (int)ingesters.size());
}
int SrsIngester::on_reload_vhost_added(string vhost)