Skip to content

Commit

Permalink
Merge pull request #274 from strideynet/kev-reduce-ingest-cursor-step…
Browse files Browse the repository at this point in the history
…-back-1-min

Reduce ingest cursor step back time to 1 minute
  • Loading branch information
strideynet authored Nov 15, 2024
2 parents c0ee91a + d3be95b commit b8a6474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ingester/ingester.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (fi *FirehoseIngester) Start(ctx context.Context) (err error) {
initCursor = time.Now().UnixMicro()
}
// Step back a few minutes to allow recovery
initCursor = time.UnixMicro(initCursor).Add(-5 * time.Minute).UnixMicro()
initCursor = time.UnixMicro(initCursor).Add(-1 * time.Minute).UnixMicro()

eg.Go(func() error {
for {
Expand Down

0 comments on commit b8a6474

Please sign in to comment.