Skip to content
Merged
4 changes: 4 additions & 0 deletions pkg/settings/cresettings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ flowchart
PerWorkflow.LogTrigger.FilterAddressLimit{{FilterAddressLimit}}:::bound
PerWorkflow.LogTrigger.FilterTopicsPerSlotLimit{{FilterTopicsPerSlotLimit}}:::bound
end
subgraph EVMLogTriggerCapability[EVM log trigger capability startup]
BaseTriggerRetransmitEnabled[/BaseTriggerRetransmitEnabled\]:::gate
BaseTriggerRetryInterval>BaseTriggerRetryInterval]:::time
end
end

subgraph Engine.handleAllTriggerEvents
Expand Down
2 changes: 2 additions & 0 deletions pkg/settings/cresettings/defaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"GatewayHTTPGlobalRate": "500rps:500",
"GatewayHTTPPerNodeRate": "100rps:100",
"TriggerRegistrationStatusUpdateTimeout": "0s",
"BaseTriggerRetransmitEnabled": "true",
Comment thread
DylanTinianov marked this conversation as resolved.
Outdated
"BaseTriggerRetryInterval": "30s",
"VaultCiphertextSizeLimit": "2kb",
"VaultShareSizeLimit": "600b",
"VaultIdentifierKeySizeLimit": "64b",
Expand Down
2 changes: 2 additions & 0 deletions pkg/settings/cresettings/defaults.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ VaultOrgIdAsSecretOwnerEnabled = 'false'
GatewayHTTPGlobalRate = '500rps:500'
GatewayHTTPPerNodeRate = '100rps:100'
TriggerRegistrationStatusUpdateTimeout = '0s'
BaseTriggerRetransmitEnabled = 'true'
BaseTriggerRetryInterval = '30s'
VaultCiphertextSizeLimit = '2kb'
VaultShareSizeLimit = '600b'
VaultIdentifierKeySizeLimit = '64b'
Expand Down
6 changes: 6 additions & 0 deletions pkg/settings/cresettings/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ var Default = Schema{
GatewayHTTPGlobalRate: Rate(rate.Limit(500), 500),
GatewayHTTPPerNodeRate: Rate(rate.Limit(100), 100),
TriggerRegistrationStatusUpdateTimeout: Duration(0 * time.Second),
BaseTriggerRetransmitEnabled: Bool(true),
BaseTriggerRetryInterval: Duration(30 * time.Second),

// DANGER(cedric): Be extremely careful changing these vault limits as they act as a default value
// used by the Vault OCR plugin -- changing these values could cause issues with the plugin during an image
// upgrade as nodes apply the old and new values inconsistently. A safe upgrade path
Expand Down Expand Up @@ -233,6 +236,9 @@ type Schema struct {
GatewayHTTPPerNodeRate Setting[config.Rate]
TriggerRegistrationStatusUpdateTimeout Setting[time.Duration]

BaseTriggerRetransmitEnabled Setting[bool]
BaseTriggerRetryInterval Setting[time.Duration]

VaultCiphertextSizeLimit Setting[config.Size]
VaultShareSizeLimit Setting[config.Size]
VaultIdentifierKeySizeLimit Setting[config.Size]
Expand Down
Loading