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

Issue 323363002: Changed backoff to be exponential. This will help to reduce apply_issue flakiness. (Closed)

Created:
6 years, 6 months ago by Sergiy Byelozyorov
Modified:
6 years, 6 months ago
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Visibility:
Public.

Description

Changed number of times send operation is repeated. This will help to reduce apply_issue flakiness. BUG=373797 R=maruel@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=277040

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M rietveld.py View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Sergiy Byelozyorov
PTAL
6 years, 6 months ago (2014-06-11 13:12:18 UTC) #1
M-A Ruel
https://codereview.chromium.org/323363002/diff/1/rietveld.py File rietveld.py (right): https://codereview.chromium.org/323363002/diff/1/rietveld.py#newcode438 rietveld.py:438: time.sleep(1+5**retry) 5**3 = 125. That's a hell of a ...
6 years, 6 months ago (2014-06-11 13:27:41 UTC) #2
Sergiy Byelozyorov
https://codereview.chromium.org/323363002/diff/1/rietveld.py File rietveld.py (right): https://codereview.chromium.org/323363002/diff/1/rietveld.py#newcode438 rietveld.py:438: time.sleep(1+5**retry) On 2014/06/11 13:27:41, M-A Ruel wrote: > 5**3 ...
6 years, 6 months ago (2014-06-11 15:46:43 UTC) #3
M-A Ruel
https://codereview.chromium.org/323363002/diff/1/rietveld.py File rietveld.py (right): https://codereview.chromium.org/323363002/diff/1/rietveld.py#newcode438 rietveld.py:438: time.sleep(1+5**retry) On 2014/06/11 15:46:42, Sergiy Byelozyorov wrote: > On ...
6 years, 6 months ago (2014-06-11 17:52:48 UTC) #4
Sergiy Byelozyorov
PTAL https://codereview.chromium.org/323363002/diff/1/rietveld.py File rietveld.py (right): https://codereview.chromium.org/323363002/diff/1/rietveld.py#newcode438 rietveld.py:438: time.sleep(1+5**retry) On 2014/06/11 17:52:48, M-A Ruel wrote: > ...
6 years, 6 months ago (2014-06-12 09:43:50 UTC) #5
M-A Ruel
https://codereview.chromium.org/323363002/diff/1/rietveld.py File rietveld.py (right): https://codereview.chromium.org/323363002/diff/1/rietveld.py#newcode438 rietveld.py:438: time.sleep(1+5**retry) On 2014/06/12 09:43:50, Sergiy Byelozyorov wrote: > On ...
6 years, 6 months ago (2014-06-12 12:18:08 UTC) #6
Sergey Berezin
> Please do this instead. It's fine to hammer the server. There's a few things ...
6 years, 6 months ago (2014-06-12 16:26:18 UTC) #7
M-A Ruel
On 2014/06/12 16:26:18, Sergey Berezin wrote: > > Please do this instead. It's fine to ...
6 years, 6 months ago (2014-06-12 17:06:21 UTC) #8
Sergey Berezin
On 2014/06/12 17:06:21, M-A Ruel wrote: > [snip] > You misunderstood me. What I implicitly ...
6 years, 6 months ago (2014-06-12 17:53:20 UTC) #9
Sergey Berezin
https://codereview.chromium.org/323363002/diff/20001/rietveld.py File rietveld.py (right): https://codereview.chromium.org/323363002/diff/20001/rietveld.py#newcode438 rietveld.py:438: time.sleep(1+retry) nit: Technically, this is a linear backoff now. ...
6 years, 6 months ago (2014-06-12 17:54:17 UTC) #10
Sergiy Byelozyorov
On 2014/06/12 17:06:21, M-A Ruel wrote: > You misunderstood me. What I implicitly asked was ...
6 years, 6 months ago (2014-06-13 09:39:36 UTC) #11
Sergiy Byelozyorov
https://codereview.chromium.org/323363002/diff/20001/rietveld.py File rietveld.py (right): https://codereview.chromium.org/323363002/diff/20001/rietveld.py#newcode438 rietveld.py:438: time.sleep(1+retry) On 2014/06/12 17:54:17, Sergey Berezin wrote: > nit: ...
6 years, 6 months ago (2014-06-13 09:39:42 UTC) #12
Sergiy Byelozyorov
On 2014/06/12 16:26:18, Sergey Berezin wrote: > This code I believe is used both in ...
6 years, 6 months ago (2014-06-13 09:43:19 UTC) #13
M-A Ruel
https://codereview.chromium.org/323363002/diff/40001/rietveld.py File rietveld.py (right): https://codereview.chromium.org/323363002/diff/40001/rietveld.py#newcode438 rietveld.py:438: time.sleep(10) Please replace with: time.sleep(min(10, 1+maxtries*2))
6 years, 6 months ago (2014-06-13 15:42:55 UTC) #14
Sergiy Byelozyorov
On 2014/06/13 15:42:55, M-A Ruel wrote: > https://codereview.chromium.org/323363002/diff/40001/rietveld.py > File rietveld.py (right): > > https://codereview.chromium.org/323363002/diff/40001/rietveld.py#newcode438 ...
6 years, 6 months ago (2014-06-13 16:38:07 UTC) #15
M-A Ruel
On 2014/06/13 16:38:07, Sergiy Byelozyorov wrote: > On 2014/06/13 15:42:55, M-A Ruel wrote: > > ...
6 years, 6 months ago (2014-06-13 16:53:55 UTC) #16
Sergiy Byelozyorov
On 2014/06/13 16:53:55, M-A Ruel wrote: > On 2014/06/13 16:38:07, Sergiy Byelozyorov wrote: > > ...
6 years, 6 months ago (2014-06-13 17:01:49 UTC) #17
Sergiy Byelozyorov
https://codereview.chromium.org/323363002/diff/40001/rietveld.py File rietveld.py (right): https://codereview.chromium.org/323363002/diff/40001/rietveld.py#newcode438 rietveld.py:438: time.sleep(10) On 2014/06/13 15:42:55, M-A Ruel wrote: > Please ...
6 years, 6 months ago (2014-06-13 17:02:16 UTC) #18
M-A Ruel
lgtm!
6 years, 6 months ago (2014-06-13 17:03:34 UTC) #19
Sergiy Byelozyorov
The CQ bit was checked by sergiyb@chromium.org
6 years, 6 months ago (2014-06-13 17:05:37 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergiyb@chromium.org/323363002/60001
6 years, 6 months ago (2014-06-13 17:06:05 UTC) #21
commit-bot: I haz the power
6 years, 6 months ago (2014-06-13 17:08:03 UTC) #22
Message was sent while issue was closed.
Change committed as 277040

Powered by Google App Engine
This is Rietveld 408576698