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

Issue 7605021: Make the throttle delay configurable by the server. (Closed)

Created:
9 years, 4 months ago by lipalani1
Modified:
9 years, 4 months ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), idana
Visibility:
Public.

Description

Make the throttle delay configurable by the server. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96312

Patch Set 1 #

Patch Set 2 : For review. #

Patch Set 3 : For review. #

Total comments: 10

Patch Set 4 : CR comments. #

Total comments: 2

Patch Set 5 : Review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -1 line) Patch
M chrome/browser/sync/engine/syncer_proto_util.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/sync/engine/syncer_proto_util.cc View 1 2 3 4 3 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/sync/protocol/sync.proto View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
lipalani1
Please review. Note: I am writing a full set of integration test cases for error ...
9 years, 4 months ago (2011-08-10 00:46:04 UTC) #1
tim (not reviewing)
+Fred, who is working on throttling code
9 years, 4 months ago (2011-08-10 00:50:48 UTC) #2
lipalani
ha.. I did not know Fred was working on something similar. Fred - let me ...
9 years, 4 months ago (2011-08-10 00:57:44 UTC) #3
akalin
I think this is sufficiently different from what I'm working on (adjusting nudge delay for ...
9 years, 4 months ago (2011-08-10 01:24:36 UTC) #4
tim (not reviewing)
I was referring to the per-data-type throttling code, which involves server-controlled logic. On Tue, Aug ...
9 years, 4 months ago (2011-08-10 01:27:45 UTC) #5
akalin
On 2011/08/10 01:27:45, timsteele wrote: > I was referring to the per-data-type throttling code, which ...
9 years, 4 months ago (2011-08-10 01:40:11 UTC) #6
lipalani1
Please review. http://codereview.chromium.org/7605021/diff/5001/chrome/browser/sync/engine/syncer_proto_util.cc File chrome/browser/sync/engine/syncer_proto_util.cc (right): http://codereview.chromium.org/7605021/diff/5001/chrome/browser/sync/engine/syncer_proto_util.cc#newcode192 chrome/browser/sync/engine/syncer_proto_util.cc:192: return command.throttle_delay(); On 2011/08/10 01:24:36, akalin wrote: ...
9 years, 4 months ago (2011-08-10 19:04:05 UTC) #7
akalin
http://codereview.chromium.org/7605021/diff/10001/chrome/browser/sync/engine/syncer_proto_util.cc File chrome/browser/sync/engine/syncer_proto_util.cc (right): http://codereview.chromium.org/7605021/diff/10001/chrome/browser/sync/engine/syncer_proto_util.cc#newcode194 chrome/browser/sync/engine/syncer_proto_util.cc:194: return base::TimeDelta::FromSeconds(kSyncDelayAfterThrottled); i don't like repeating the constant twice. ...
9 years, 4 months ago (2011-08-10 19:48:14 UTC) #8
lipalani1
Please review. http://codereview.chromium.org/7605021/diff/10001/chrome/browser/sync/engine/syncer_proto_util.cc File chrome/browser/sync/engine/syncer_proto_util.cc (right): http://codereview.chromium.org/7605021/diff/10001/chrome/browser/sync/engine/syncer_proto_util.cc#newcode194 chrome/browser/sync/engine/syncer_proto_util.cc:194: return base::TimeDelta::FromSeconds(kSyncDelayAfterThrottled); On 2011/08/10 19:48:14, akalin wrote: ...
9 years, 4 months ago (2011-08-10 20:38:57 UTC) #9
akalin
LGTM
9 years, 4 months ago (2011-08-11 00:02:08 UTC) #10
commit-bot: I haz the power
9 years, 4 months ago (2011-08-11 02:52:04 UTC) #11
Change committed as 96312

Powered by Google App Engine
This is Rietveld 408576698