fix: readAt() occasional hang in concurrent reads

This commit is contained in:
cloudsbit 2025-03-12 08:42:59 +08:00
parent fb0652cf58
commit 067046a74c
1 changed files with 1 additions and 1 deletions

View File

@ -1174,7 +1174,7 @@ func (f *File) readAt(b []byte, off int64) (int, error) {
ID: id, ID: id,
Handle: f.handle, Handle: f.handle,
Offset: uint64(offset), Offset: uint64(offset),
Len: uint32(chunkSize), Len: uint32(len(rb)),
}) })
select { select {