mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-13 15:29:12 +01:00
A blocking dial ran under context.Background(), so a caller supplying grpc.WithBlock() could wait past the attempt window before the RPC deadline even started. The attempt context now covers both getOrCreateConnection and the DistributedLock call, and WithGrpcClient threads it into GrpcDial on both the cached and streaming paths. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>