mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 06:57:23 +08:00
async chan write read, no write for closed chan
This commit is contained in:
@@ -55,8 +55,8 @@ func (mc *MessagingClient) NewSubChannel(chanName string) (*SubChannel, error) {
|
||||
close(t.ch)
|
||||
return
|
||||
}
|
||||
t.md5hash.Write(resp.Data.Value)
|
||||
t.ch <- resp.Data.Value
|
||||
t.md5hash.Write(resp.Data.Value)
|
||||
}
|
||||
}()
|
||||
|
||||
|
Reference in New Issue
Block a user