@@ -54,7 +54,6 @@ var Config Schema
5454var Default = Schema {
5555 WorkflowLimit : Int (200 ),
5656 WorkflowExecutionConcurrencyLimit : Int (200 ),
57- WorkflowTriggerRateLimit : Rate (200 , 200 ),
5857 GatewayIncomingPayloadSizeLimit : Size (1 * config .MByte ),
5958
6059 // DANGER(cedric): Be extremely careful changing these vault limits as they act as a default value
@@ -69,12 +68,10 @@ var Default = Schema{
6968 VaultRequestBatchSizeLimit : Int (10 ),
7069
7170 PerOrg : Orgs {
72- WorkflowDeploymentRateLimit : Rate (rate .Every (time .Minute ), 1 ),
73- ZeroBalancePruningTimeout : Duration (24 * time .Hour ),
71+ ZeroBalancePruningTimeout : Duration (24 * time .Hour ),
7472 },
7573 PerOwner : Owners {
7674 WorkflowExecutionConcurrencyLimit : Int (5 ),
77- WorkflowTriggerRateLimit : Rate (5 , 5 ),
7875
7976 // DANGER(cedric): Be extremely careful changing this vault limit as it acts as a default value
8077 // used by the Vault OCR plugin -- changing this value could cause issues with the plugin during an image
@@ -83,7 +80,6 @@ var Default = Schema{
8380 VaultSecretsLimit : Int (100 ),
8481 },
8582 PerWorkflow : Workflows {
86- TriggerRateLimit : Rate (rate .Every (30 * time .Second ), 3 ),
8783 TriggerRegistrationsTimeout : Duration (10 * time .Second ),
8884 TriggerEventQueueLimit : Int (1_000 ),
8985 TriggerEventQueueTimeout : Duration (10 * time .Minute ),
@@ -100,9 +96,6 @@ var Default = Schema{
10096 WASMCompressedBinarySizeLimit : Size (20 * config .MByte ),
10197 WASMConfigSizeLimit : Size (config .MByte ),
10298 WASMSecretsSizeLimit : Size (config .MByte ),
103- WASMResponseSizeLimit : Size (100 * config .KByte ),
104- ConsensusObservationSizeLimit : Size (100 * config .KByte ),
105- ConsensusCallsLimit : Int (2000 ),
10699 LogLineLimit : Size (config .KByte ),
107100 LogEventLimit : Int (1_000 ),
108101 ChainAllowed : PerChainSelector (Bool (false ), map [string ]bool {
@@ -114,13 +107,11 @@ var Default = Schema{
114107
115108 CRONTrigger : cronTrigger {
116109 FastestScheduleInterval : Duration (30 * time .Second ),
117- RateLimit : Rate (rate .Every (30 * time .Second ), 1 ),
118110 },
119111 HTTPTrigger : httpTrigger {
120112 RateLimit : Rate (rate .Every (30 * time .Second ), 3 ),
121113 },
122114 LogTrigger : logTrigger {
123- Limit : Int (5 ),
124115 EventRateLimit : Rate (rate .Every (time .Minute / 10 ), 10 ),
125116 FilterAddressLimit : Int (5 ),
126117 FilterTopicsPerSlotLimit : Int (10 ),
@@ -156,9 +147,7 @@ var Default = Schema{
156147type Schema struct {
157148 WorkflowLimit Setting [int ] `unit:"{workflow}"`
158149 WorkflowExecutionConcurrencyLimit Setting [int ] `unit:"{workflow}"`
159- // Deprecated
160- WorkflowTriggerRateLimit Setting [config.Rate ]
161- GatewayIncomingPayloadSizeLimit Setting [config.Size ]
150+ GatewayIncomingPayloadSizeLimit Setting [config.Size ]
162151
163152 VaultCiphertextSizeLimit Setting [config.Size ]
164153 VaultIdentifierKeySizeLimit Setting [config.Size ]
@@ -172,21 +161,15 @@ type Schema struct {
172161 PerWorkflow Workflows `scope:"workflow"`
173162}
174163type Orgs struct {
175- // Deprecated
176- WorkflowDeploymentRateLimit Setting [config.Rate ]
177- ZeroBalancePruningTimeout Setting [time.Duration ]
164+ ZeroBalancePruningTimeout Setting [time.Duration ]
178165}
179166
180167type Owners struct {
181168 WorkflowExecutionConcurrencyLimit Setting [int ] `unit:"{workflow}"`
182- // Deprecated
183- WorkflowTriggerRateLimit Setting [config.Rate ]
184- VaultSecretsLimit Setting [int ] `unit:"{secret}"`
169+ VaultSecretsLimit Setting [int ] `unit:"{secret}"`
185170}
186171
187172type Workflows struct {
188- // Deprecated
189- TriggerRateLimit Setting [config.Rate ]
190173 TriggerRegistrationsTimeout Setting [time.Duration ]
191174 TriggerSubscriptionTimeout Setting [time.Duration ]
192175 TriggerSubscriptionLimit Setting [int ] `unit:"{subscription}"`
@@ -207,13 +190,6 @@ type Workflows struct {
207190 WASMCompressedBinarySizeLimit Setting [config.Size ]
208191 WASMConfigSizeLimit Setting [config.Size ]
209192 WASMSecretsSizeLimit Setting [config.Size ]
210- // Deprecated: use ExecutionResponseLimit
211- WASMResponseSizeLimit Setting [config.Size ]
212-
213- // Deprecated: use Consensus.ObservationSizeLimit
214- ConsensusObservationSizeLimit Setting [config.Size ]
215- // Deprecated: use Consensus.CallLimit
216- ConsensusCallsLimit Setting [int ] `unit:"{call}"`
217193
218194 LogLineLimit Setting [config.Size ]
219195 LogEventLimit Setting [int ] `unit:"{log}"`
@@ -232,15 +208,11 @@ type Workflows struct {
232208
233209type cronTrigger struct {
234210 FastestScheduleInterval Setting [time.Duration ]
235- // Deprecated: to be removed
236- RateLimit Setting [config.Rate ]
237211}
238212type httpTrigger struct {
239213 RateLimit Setting [config.Rate ]
240214}
241215type logTrigger struct {
242- // Deprecated
243- Limit Setting [int ] `unit:"{trigger}"`
244216 EventRateLimit Setting [config.Rate ]
245217 EventSizeLimit Setting [config.Size ]
246218 FilterAddressLimit Setting [int ] `unit:"{address}"`
0 commit comments