aboutsummaryrefslogtreecommitdiff
path: root/plugin/forward/persistent.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/forward/persistent.go')
-rw-r--r--plugin/forward/persistent.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/forward/persistent.go b/plugin/forward/persistent.go
index afa95d343..e6cad8188 100644
--- a/plugin/forward/persistent.go
+++ b/plugin/forward/persistent.go
@@ -121,7 +121,7 @@ func (t *Transport) cleanup(all bool) {
// It is hard to pin a value to this, the import thing is to no block forever, losing at cached connection is not terrible.
const yieldTimeout = 25 * time.Millisecond
-// Yield return the connection to transport for reuse.
+// Yield returns the connection to transport for reuse.
func (t *Transport) Yield(pc *persistConn) {
pc.used = time.Now() // update used time