Поделиться через


SubscriptionThrottle Element (ADF)

Specifies the number of scheduled subscriptions that can be processed during a single generator quantum.

Синтаксис

<ApplicationExecutionSettings>
    ...
    <SubscriptionThrottle>

Element Characteristics

Characteristic Description

Data type

Non-negative integer.

Default value

1,000.

Occurrence

Optional once per ApplicationExecutionSettings element.

Updates

Can be added, deleted, and modified when updating the application.

Element Relationships

Relationship Elements

Parent element

ApplicationExecutionSettings Element (ADF)

Замечания

Use the SubscriptionThrottle element to help guard against an unexpectedly large number of subscriptions entered into the application.

The SubscriptionThrottle value applies to scheduled rules only, not event-triggered rules.

During each quantum, the generator gets the current set of scheduled subscriptions for each subscription class and counts the subscriptions. If the SubscriptionThrottle value is exceeded, the generator abandons the quantum.

If you set the SubscriptionThrottle value to 0, there is no limit to the number of scheduled subscriptions processed from a subscription class during a quantum.

For additional information, see Задание интервалов повтора для событий, подписок и уведомлений.

Пример

The following example shows how to specify that a maximum of 1500 scheduled subscriptions per subscription class can be processed per quantum.

<SubscriptionThrottle>1500</SubscriptionThrottle>

См. также

Справочник

Application Definition File Reference

Другие ресурсы

Задание интервалов повтора для событий, подписок и уведомлений
Обновление экземпляров и приложений

Справка и поддержка

Получение помощи по SQL Server 2005