add comment about bigness of reification batch
This commit is contained in:
parent
4524fbe936
commit
6bcade5e6d
@ -146,6 +146,7 @@ func (s *SplitStore) doReify(c cid.Cid) {
|
|||||||
|
|
||||||
log.Debugf("reifying %d objects rooted at %s", len(toreify), c)
|
log.Debugf("reifying %d objects rooted at %s", len(toreify), c)
|
||||||
|
|
||||||
|
// this should not get too big, maybe some 100s of objects.
|
||||||
batch := make([]blocks.Block, 0, len(toreify))
|
batch := make([]blocks.Block, 0, len(toreify))
|
||||||
for _, c := range toreify {
|
for _, c := range toreify {
|
||||||
blk, err := s.cold.Get(s.ctx, c)
|
blk, err := s.cold.Get(s.ctx, c)
|
||||||
|
Loading…
Reference in New Issue
Block a user