this repo has no description
0
fork

Configure Feed

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

drop events that were already processed (#537)

authored by

Whyrusleeping and committed by
GitHub
a5042dca 3ec58571

+4 -1
+4 -1
backfill/backfill.go
··· 488 488 } 489 489 490 490 buffered, err := bf.BufferOps(ctx, evt.Repo, evt.Since, evt.Rev, ops) 491 - if err != nil && !errors.Is(err, ErrAlreadyProcessed) { 491 + if err != nil { 492 + if errors.Is(err, ErrAlreadyProcessed) { 493 + return nil 494 + } 492 495 return fmt.Errorf("buffer ops failed: %w", err) 493 496 } 494 497