SubscriptionThrottle Element (ADF)
Specifies the number of scheduled subscriptions that can be processed during a single generator quantum.
Syntax
<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 |
Remarks
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 Specifying Throttles for Events, Subscriptions, and Notifications.
Example
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>
See Also
Reference
Application Definition File Reference
Other Resources
Specifying Throttles for Events, Subscriptions, and Notifications
Updating Instances and Applications