mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
re-implement data usage crawler to be more efficient (#9075)
Implementation overview: https://gist.github.com/klauspost/1801c858d5e0df391114436fdad6987b
This commit is contained in:
@@ -78,7 +78,7 @@ type LimitWriter struct {
|
||||
wLimit int64
|
||||
}
|
||||
|
||||
// Implements the io.Writer interface limiting upto
|
||||
// Write implements the io.Writer interface limiting upto
|
||||
// configured length, also skips the first N bytes.
|
||||
func (w *LimitWriter) Write(p []byte) (n int, err error) {
|
||||
n = len(p)
|
||||
|
||||
Reference in New Issue
Block a user