message: Validate summary heuristics configuration settings
  AB#758
diff: @@ -1237,6 +1237,10 @@ export class ContainerRuntime extends TypedEventEmitter<IContainerRuntimeEvents>
  this.mc = loggerToMonitoringContext(
  ChildLogger.create(this.logger, "ContainerRuntime"));
  + if (this.summaryConfiguration.state === "enabled") {
  + this.validateSummaryHeuristicConfiguration(this.summaryConfiguration);
  + }
  +
  this.summariesDisabled = this.isSummariesDisabled();
  this.heuristicsDisabled = this.isHeuristicsDisabled();
  this.summarizerClientElectionEnabled = this.isSummarizerClientElectionEnabled();
  @@ -3267,6 +3271,15 @@ export class ContainerRuntime extends TypedEventEmitter<IContainerRuntimeEvents>
  // don't have any more saved ops
  await this.pendingStateManager.applyStashedOpsAt();
  }
  +
  + private validateSummaryHeuristicConfiguration(configuration: ISummaryConfigurationHeuristics) {
  + // eslint-disable-next-line no-restricted-syntax
  + for (const prop in configuration) {
  + if (typeof configuration[prop] === "number" && configuration[prop] < 0) {
  + throw new UsageError(`Summary heuristic configuration property "${prop}" cannot be less than 0`);
  + }
  + }
  + }
  }
  /**
  