Partager via


SubscriptionThrottle Element (ADF)

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

Syntaxe

<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)

Notes

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 Spécification d'accélérateurs pour les événements, les abonnements et les notifications.

Exemple

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>

Voir aussi

Référence

Application Definition File Reference

Autres ressources

Spécification d'accélérateurs pour les événements, les abonnements et les notifications
Mise à jour des instances et des applications

Aide et Informations

Assistance sur SQL Server 2005