Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(347)

Unified Diff: chrome/browser/memory/tab_manager.cc

Issue 2624063002: Stop suspending renderer and changing purge interval to 20min (Closed)
Patch Set: Fixed unit_tests failure. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/memory/tab_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/memory/tab_manager.cc
diff --git a/chrome/browser/memory/tab_manager.cc b/chrome/browser/memory/tab_manager.cc
index b6062ab348a7fc4de577743cd6eddddf47e7aff5..6c2cf66a1aba3f71310e4e3317e849839d3b0e0b 100644
--- a/chrome/browser/memory/tab_manager.cc
+++ b/chrome/browser/memory/tab_manager.cc
@@ -86,7 +86,7 @@ const int kSuspendThresholdSeconds = kAdjustmentIntervalSeconds * 4;
// A suspended renderer is suspended for this duration.
constexpr base::TimeDelta kDurationOfRendererSuspension =
- base::TimeDelta::FromSeconds(120);
+ base::TimeDelta::FromSeconds(1200);
bashi 2017/01/13 02:11:42 We no longer suspend renderers. Shouldn't we chang
tasak 2017/01/13 03:27:04 Acknowledged. But currelty it is difficult to rena
bashi 2017/01/13 04:36:23 Yeah, currently it's difficult to rename as purgin
// A resumed renderer is resumed for this duration.
constexpr base::TimeDelta kDurationOfRendererResumption =
« no previous file with comments | « no previous file | chrome/browser/memory/tab_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698