mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-23 22:03:38 +08:00
adjust
This commit is contained in:
@@ -159,13 +159,11 @@ func (c *ChunkReadAt) readFromWholeChunkData(chunkView *ChunkView, nextChunkView
|
|||||||
c.lastChunkData = chunkData
|
c.lastChunkData = chunkData
|
||||||
c.lastChunkFileId = chunkView.FileId
|
c.lastChunkFileId = chunkView.FileId
|
||||||
|
|
||||||
go func() {
|
|
||||||
for _, nextChunkView := range nextChunkViews {
|
for _, nextChunkView := range nextChunkViews {
|
||||||
if c.chunkCache != nil && nextChunkView != nil {
|
if c.chunkCache != nil && nextChunkView != nil {
|
||||||
c.readOneWholeChunk(nextChunkView)
|
go c.readOneWholeChunk(nextChunkView)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}()
|
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user