Chromium Code Reviews
DescriptionLogDog: Re-use Pub/Sub gRPC clients.
Since a single Tumble mutation may perform multiple Pub/Sub publishes,
re-use a single Pub/Sub gRPC client. Clients are bound to the projects
that they are created from, and free'd at the end of the handler's
operation via a service-wide close.
Leave the archival publisher Close in (even though it's no-op) since
it's a useful check on archival publisher lifecycle.
BUG=chromium:675401
TEST=None
R=vadimsh@chromium.org
Review-Url: https://codereview.chromium.org/2583033002
Committed: https://github.com/luci/luci-go/commit/fad4dadaa7d4d99fc00958a4d5281af7f9d85a7c
Patch Set 1 #
Total comments: 2
Patch Set 2 : close under lock #
Messages
Total messages: 9 (4 generated)
|
||||||||||||||||||||||||||||