зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1347174 - per comment 10, limit the readahead size to prevent cache thrashing. r=cpearce
MozReview-Commit-ID: Ellinh8JIYE --HG-- extra : rebase_source : 8f63ba1fd29e631cdafd5e56dbab958e7b044f0f extra : intermediate-source : 0fe99aa9945fa33925a7885643af92bc007c338b extra : source : f729d3953b822b5ecc208b46ac9fc0505aa69332
This commit is contained in:
Родитель
c225afa02e
Коммит
7c42af4b6f
|
@ -296,11 +296,11 @@ pref("media.dormant-on-pause-timeout-ms", 5000);
|
|||
pref("media.cache_size", 512000);
|
||||
// When a network connection is suspended, don't resume it until the
|
||||
// amount of buffered data falls below this threshold (in seconds).
|
||||
pref("media.cache_resume_threshold", 999999);
|
||||
pref("media.cache_resume_threshold", 30);
|
||||
// Stop reading ahead when our buffered data is this many seconds ahead
|
||||
// of the current playback position. This limit can stop us from using arbitrary
|
||||
// amounts of network bandwidth prefetching huge videos.
|
||||
pref("media.cache_readahead_limit", 999999);
|
||||
pref("media.cache_readahead_limit", 60);
|
||||
|
||||
// Master HTML5 media volume scale.
|
||||
pref("media.volume_scale", "1.0");
|
||||
|
|
Загрузка…
Ссылка в новой задаче