New and generic scrape algorithm #11
@ -90,7 +90,11 @@ outer:
|
|||||||
}
|
}
|
||||||
|
|
||||||
span.AddEvent("Executing BatchPostProcessingWithSummery")
|
span.AddEvent("Executing BatchPostProcessingWithSummery")
|
||||||
newPosts, anthroveFaves, summery, err = BatchPostProcessingWithSummery(ctx, userSource, favorites.Posts)
|
pageNewPosts, pageAnthroveFaves, summery, err := BatchPostProcessingWithSummery(ctx, userSource, favorites.Posts)
|
||||||
|
|
||||||
|
anthroveFaves = append(anthroveFaves, pageAnthroveFaves...)
|
||||||
|
newPosts = append(newPosts, pageNewPosts...)
|
||||||
|
|
||||||
span.AddEvent("Finished executing BatchPostProcessingWithSummery")
|
span.AddEvent("Finished executing BatchPostProcessingWithSummery")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
span.RecordError(err)
|
span.RecordError(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user