Browse Source

Update weed/worker/client.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/7838/head
Chris Lu 2 months ago
committed by GitHub
parent
commit
988e6d1a2d
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      weed/worker/client.go

2
weed/worker/client.go

@ -345,7 +345,7 @@ func handleOutgoing(
msgCh := make(chan *worker_pb.WorkerMessage, 1)
errCh := make(chan error, 1) // Buffered to prevent blocking if the manager is busy
// Goroutine that performs the blocking stream.Send() calls.
// Goroutine that reads from msgCh and performs the blocking stream.Send() calls.
go func() {
for msg := range msgCh {
if err := stream.Send(msg); err != nil {

Loading…
Cancel
Save