Insights: Optional batching of commit indexer
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