this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ensure 'blocks' field is set in tooBig events (#410)

The `blocks` field is required to be present in order to pass validation
in the typescript code.

authored by

Whyrusleeping and committed by
GitHub
6183dd07 227cab37

+2 -1
+1
events/dbpersist.go
··· 549 549 550 550 if len(cs) > carstore.MaxSliceLength { 551 551 out.TooBig = true 552 + out.Blocks = []byte{} 552 553 } else { 553 554 out.Blocks = cs 554 555 }
+1 -1
indexer/indexer.go
··· 148 148 toobig := false 149 149 slice := evt.RepoSlice 150 150 if len(slice) > MaxEventSliceLength || len(outops) > MaxOpsSliceLength { 151 - slice = nil 151 + slice = []byte{} 152 152 outops = nil 153 153 toobig = true 154 154 }