Skip to content

Commit

Permalink
[pref] Merge "optimize images memory usage" from embedlite_31
Browse files Browse the repository at this point in the history
  • Loading branch information
rainemak committed Nov 3, 2015
1 parent f03a705 commit b3b6787
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions embedding/embedlite/embedding.js
Expand Up @@ -344,6 +344,7 @@ pref("media.video-queue.default-size", 3);
// optimize images memory usage
pref("image.mem.decodeondraw", true);
pref("image.mem.allow_locking_in_content_processes", false);
pref("image.mem.min_discard_timeout_ms", 10000);
pref("image.onload.decode.limit", 24); /* don't decode more than 24 images eagerly */

// SimplePush
Expand Down

0 comments on commit b3b6787

Please sign in to comment.