mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine get_vhost_http_remux_fast_cache in time unit
This commit is contained in:
parent
010e35bec2
commit
138d1e3cad
4 changed files with 13 additions and 5 deletions
|
@ -64,7 +64,7 @@ SrsBufferCache::SrsBufferCache(SrsSource* s, SrsRequest* r)
|
|||
trd = new SrsSTCoroutine("http-stream", this);
|
||||
|
||||
// TODO: FIXME: support reload.
|
||||
fast_cache = srs_utime_t(_srs_config->get_vhost_http_remux_fast_cache(req->vhost) * SRS_UTIME_SECONDS);
|
||||
fast_cache = _srs_config->get_vhost_http_remux_fast_cache(req->vhost);
|
||||
}
|
||||
|
||||
SrsBufferCache::~SrsBufferCache()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue