Merge pull request #621 from cloudsbit/bugfix/readAt-hang

fix: readAt() occasional hang in concurrent reads
This commit is contained in:
Cassondra Foesch 2025-03-12 15:06:49 +00:00 committed by GitHub
commit 5b63029e5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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,
Handle: f.handle,
Offset: uint64(offset),
Len: uint32(chunkSize),
Len: uint32(len(rb)),
})
select {