this repo has no description
0
fork

Configure Feed

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

Mark finished backfills as complete in the backfill jobstore (#331)

authored by

Jaz and committed by
GitHub
b6a6ed55 3eba8179

+7
+6
backfill/backfill.go
··· 225 225 log.Error("failed to flush buffered ops", "error", err) 226 226 } 227 227 228 + // Mark the job as "complete" 229 + err = job.SetState(ctx, StateComplete) 230 + if err != nil { 231 + log.Error("failed to set job state", "error", err) 232 + } 233 + 228 234 return processed 229 235 } 230 236
+1
search/server.go
··· 89 89 opts := backfill.DefaultBackfillOptions() 90 90 if config.BGSSyncRateLimit > 0 { 91 91 opts.SyncRequestsPerSecond = config.BGSSyncRateLimit 92 + opts.ParallelBackfills = 2 * config.BGSSyncRateLimit 92 93 } else { 93 94 opts.SyncRequestsPerSecond = 8 94 95 }