mirror of
https://github.com/minio/minio.git
synced 2025-11-07 04:42:56 -05:00
Remove msgp workaround (#10964)
The error in `github.com/philhofer/fwd` was quickly fixed through https://github.com/philhofer/fwd/pull/22 - update the dependency and remove the workaround.
This commit is contained in:
@@ -247,9 +247,7 @@ type metacacheReader struct {
|
||||
func newMetacacheReader(r io.Reader) (*metacacheReader, error) {
|
||||
dec := s2DecPool.Get().(*s2.Reader)
|
||||
dec.Reset(r)
|
||||
// TODO: Go back to default size when this fix is available:
|
||||
// https://github.com/philhofer/fwd/issues/20
|
||||
mr := msgp.NewReaderSize(dec, 64<<10)
|
||||
mr := msgp.NewReader(dec)
|
||||
m := metacacheReader{
|
||||
mr: mr,
|
||||
closer: func() {
|
||||
|
||||
Reference in New Issue
Block a user