mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Refine the stat logs, limit the object cache pool
This commit is contained in:
parent
30809aee60
commit
7b3b7381e2
8 changed files with 202 additions and 44 deletions
|
@ -361,7 +361,7 @@ SrsSharedPtrMessage* SrsSharedPtrMessage::copy()
|
|||
{
|
||||
srs_assert(ptr);
|
||||
|
||||
SrsSharedPtrMessage* copy = _srs_rtp_msg_cache2->allocate();
|
||||
SrsSharedPtrMessage* copy = _srs_rtp_msg_cache_objs->allocate();
|
||||
|
||||
// We got an object from cache, the ptr might exists, so unwrap it.
|
||||
copy->unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue