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

Unified Diff: common/retry/limited.go

Issue 1605363002: common/prpc, tools/cmd/cproto: prpc client (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: use text template for ast generation Created 4 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
Index: common/retry/limited.go
diff --git a/common/retry/limited.go b/common/retry/limited.go
index 9ad33bf853e0cc995348b8214275493fcdfddd25..ea883be7f2657dea72431c464f1c20585258a202 100644
--- a/common/retry/limited.go
+++ b/common/retry/limited.go
@@ -1,4 +1,4 @@
-// Copyright (c) 2015 The Chromium Authors. All rights reserved.
+// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -14,10 +14,10 @@ import (
// Limited is an Iterator implementation that is limited by a maximum number of
// retries or time.
type Limited struct {
- Delay time.Duration // The next generated delay. If zero, 1 second will be used.
+ Delay time.Duration // The next generated delay.
Retries int // The number of remaining retries.
- MaxTotal time.Duration // The maximum total elasped time. If zero, no maximum will be enfored.
+ MaxTotal time.Duration // The maximum total elapsed time. If zero, no maximum will be enforced.
startTime time.Time // The time when the generator initially started.
}

Powered by Google App Engine
This is Rietveld 408576698