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:
Klaus Post
2020-11-24 11:58:10 -08:00
committed by GitHub
parent a58b7874ef
commit a75fafdbe2
3 changed files with 4 additions and 4 deletions

View File

@@ -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() {