vendor: update all dependencies to latest versions
This commit is contained in:
+2
-2
@@ -384,8 +384,9 @@ func (p *streamingPuller) openLocked() {
|
||||
return
|
||||
}
|
||||
// No opens in flight; start one.
|
||||
// Keep the lock held, to avoid a race where we
|
||||
// close the old stream while opening a new one.
|
||||
p.inFlight = true
|
||||
p.c.L.Unlock()
|
||||
spc, err := p.subc.StreamingPull(p.ctx, gax.WithGRPCOptions(grpc.MaxCallRecvMsgSize(maxSendRecvBytes)))
|
||||
if err == nil {
|
||||
err = spc.Send(&pb.StreamingPullRequest{
|
||||
@@ -393,7 +394,6 @@ func (p *streamingPuller) openLocked() {
|
||||
StreamAckDeadlineSeconds: p.ackDeadlineSecs,
|
||||
})
|
||||
}
|
||||
p.c.L.Lock()
|
||||
p.spc = spc
|
||||
p.err = err
|
||||
p.inFlight = false
|
||||
|
||||
Reference in New Issue
Block a user