public static void LimitMessageProcessingConcurrencyTo(this TimeoutManagerConfiguration timeoutManagerConfiguration, int maxConcurrency) { throw new NotImplementedException(); }
/// <summary> /// Configures the allowed number of concurrent messages for the timeout manager's satellite queues. The default value is specified in <see cref="PushRuntimeSettings.Default"/>. /// </summary> /// <param name="timeoutManagerConfiguration">The settings to extend.</param> /// <param name="maxConcurrency">The maximum number of processed messages per satellite queue.</param> public static void LimitMessageProcessingConcurrencyTo(this TimeoutManagerConfiguration timeoutManagerConfiguration, int maxConcurrency) { Guard.AgainstNull(nameof(timeoutManagerConfiguration), timeoutManagerConfiguration); timeoutManagerConfiguration.settings.Set(TimeoutManagerMaxConcurrencySettingsKey, new PushRuntimeSettings(maxConcurrency)); }
/// <summary> /// Configures the allowed number of concurrent messages for the timeout manager's satellite queues. The default value is specified in <see cref="PushRuntimeSettings.Default"/>. /// </summary> /// <param name="timeoutManagerConfiguration">The settings to extend.</param> /// <param name="maxConcurrency">The maximum number of processed messages per satellite queue.</param> public static void LimitMessageProcessingConcurrencyTo(this TimeoutManagerConfiguration timeoutManagerConfiguration, int maxConcurrency) { timeoutManagerConfiguration.settings.Set(TimeoutManagerMaxConcurrencySettingsKey, new PushRuntimeSettings(maxConcurrency)); }