コード例 #1
0
 private IEnumerable <IngestionFetch> BuildFetchesForTimeRange(string sourceName, TimeRange timeRange)
 {
     //var quantisedRange = timeRange.Quantise(_configuration.MaxFetchSpanSeconds);
     return(timeRange.Chop(_configuration.MaxFetchSpanSeconds).Select(range => new IngestionFetch(sourceName, range)));
 }