Skip to content

Commit fe58e42

Browse files
authored
Merge pull request #2 from rueian/main
Doc: mention the importance of Pipeline.Close() in the README
2 parents bb83ae2 + 69f63de commit fe58e42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ for r.Next() {
125125
log.Fatal(err)
126126
}
127127
}
128+
p.Close() // allow the underlying connection to be reused.
128129
```
129130

130131
Fun fact: authentication happens over a pipeline, so it doesn't incur a round-trip.

0 commit comments

Comments
 (0)