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 |
备注
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