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

Unified Diff: src/default_policy.cc

Issue 4201001: cashew: default policy: reduce request timer frequency (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/cashew.git
Patch Set: Created 10 years, 2 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 | « src/Makefile.am ('k') | src/default_policy_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/default_policy.cc
diff --git a/src/default_policy.cc b/src/default_policy.cc
index 81eac60825185c9ef2fb1a70740455f6a254baad..d165a90d4f4d9103daf1f2b96d416b980ce7adab 100644
--- a/src/default_policy.cc
+++ b/src/default_policy.cc
@@ -9,7 +9,8 @@
namespace cashew {
// default update timer interval in seconds
-static const guint kDefaultPolicyUpdateTimerIdleSecs = 60;
+static const guint kSecondsPerMinute = 60;
+static const guint kDefaultPolicyUpdateTimerIdleSecs = 10 * kSecondsPerMinute;
DefaultPolicy::DefaultPolicy(const std::string& carrier) : carrier_(carrier) {
}
« no previous file with comments | « src/Makefile.am ('k') | src/default_policy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698