1
0
mirror of https://github.com/minio/minio.git synced 2025-02-03 09:55:59 -05:00
Klaus Post b7438fe4e6
Copy metadata before spawning goroutine + prealloc maps ()
In `(*cacheObjects).GetObjectNInfo` copy the metadata before spawning a goroutine.

Clean up a few map[string]string copies as well, reducing allocs and simplifying the code.

Fixes 
2020-09-10 11:37:22 -07:00
..