mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 04:00:25 +03:00
fs: Fix GetObject failure to read large blocks. (#1982)
Add relevant test cases as well for verifying this part of the codebase. Fixes #1979
This commit is contained in:
committed by
Harshavardhana
parent
cb1200a66d
commit
ed2fdd90b0
@@ -27,6 +27,9 @@ import (
|
||||
const (
|
||||
// Block size used for all internal operations version 1.
|
||||
blockSizeV1 = 10 * 1024 * 1024 // 10MiB.
|
||||
|
||||
// Staging buffer read size for all internal operations version 1.
|
||||
readSizeV1 = 128 * 1024 // 128KiB.
|
||||
)
|
||||
|
||||
// Register callback functions that needs to be called when process shutsdown.
|
||||
|
||||
Reference in New Issue
Block a user