Skip to content

Insights: Optional batching of commit indexer

Administrator requested to merge cw/page-insights-index into main

Created by: chwarwick

To ensure that the insights commit indexer can complete it's indexing task when attempting to index a repository with a large number of commits add a setting insights.commit.indexer.windowDuration. This setting allows the insights commit indexer to limit git log requests to a window of time instead of getting all commits after a specified date.

The default setting value does not specify a duration so behavior is the same as current state where all commits after the last indexed date are fetched.

resolves #22035

Test plan

All tests pass

Merge request reports

Loading