@@ -56,16 +56,16 @@ struct ExpirationHandlerHelpers {
5656 };
5757 }
5858
59- static RouteConfigurator::CreationConfigurator enumDrivenConfigurator (InputSpec const & matcher)
59+ static RouteConfigurator::CreationConfigurator enumDrivenConfigurator (InputSpec const & matcher, size_t inputTimeslice, size_t maxInputTimeslices )
6060 {
61- return [matcher](ConfigParamRegistry const & options) {
61+ return [matcher, inputTimeslice, maxInputTimeslices ](ConfigParamRegistry const & options) {
6262 std::string startName = std::string{" start-value-" } + matcher.binding ;
6363 std::string endName = std::string{" end-value-" } + matcher.binding ;
6464 std::string stepName = std::string{" step-value-" } + matcher.binding ;
6565 auto start = options.get <int64_t >(startName.c_str ());
6666 auto stop = options.get <int64_t >(endName.c_str ());
6767 auto step = options.get <int64_t >(stepName.c_str ());
68- return LifetimeHelpers::enumDrivenCreation (start, stop, step);
68+ return LifetimeHelpers::enumDrivenCreation (start, stop, step, inputTimeslice, maxInputTimeslices );
6969 };
7070 }
7171
@@ -557,7 +557,7 @@ void DeviceSpecHelpers::processInEdgeActions(std::vector<DeviceSpec>& devices,
557557 break ;
558558 case Lifetime::Enumeration:
559559 route.configurator = {
560- ExpirationHandlerHelpers::enumDrivenConfigurator (inputSpec),
560+ ExpirationHandlerHelpers::enumDrivenConfigurator (inputSpec, consumerDevice. inputTimesliceId , consumerDevice. maxInputTimeslices ),
561561 ExpirationHandlerHelpers::danglingEnumerationConfigurator (inputSpec),
562562 ExpirationHandlerHelpers::expiringEnumerationConfigurator (inputSpec, sourceChannel)};
563563 break ;
0 commit comments