Update weed/worker/client.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Chris Lu
2025-12-22 00:36:38 -08:00
committed by GitHub
co-authored by Copilot
parent 324a292f9c
commit 988e6d1a2d
+1 -1
View File
@@ -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 {