File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ flowchart
3838%% TODO GatewayVaultManagementEnabled
3939 VaultJWTAuthEnabled[/VaultJWTAuthEnabled\]:::gate
4040 VaultOrgIdAsSecretOwnerEnabled[/VaultOrgIdAsSecretOwnerEnabled\]:::gate
41+ VaultForceEmptyOCRRounds[/VaultForceEmptyOCRRounds\]:::gate
4142 end
4243
4344 subgraph HandleNodeMessage[gatewayHandler.HandleNodeMessage]
Original file line number Diff line number Diff line change 55 "GatewayVaultManagementEnabled" : " true" ,
66 "VaultJWTAuthEnabled" : " false" ,
77 "VaultOrgIdAsSecretOwnerEnabled" : " false" ,
8+ "VaultForceEmptyOCRRounds" : " false" ,
89 "GatewayHTTPGlobalRate" : " 500rps:500" ,
910 "GatewayHTTPPerNodeRate" : " 100rps:100" ,
1011 "TriggerRegistrationStatusUpdateTimeout" : " 0s" ,
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ GatewayIncomingPayloadSizeLimit = '1mb'
44GatewayVaultManagementEnabled = ' true'
55VaultJWTAuthEnabled = ' false'
66VaultOrgIdAsSecretOwnerEnabled = ' false'
7+ VaultForceEmptyOCRRounds = ' false'
78GatewayHTTPGlobalRate = ' 500rps:500'
89GatewayHTTPPerNodeRate = ' 100rps:100'
910TriggerRegistrationStatusUpdateTimeout = ' 0s'
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ var Default = Schema{
5858 GatewayVaultManagementEnabled : Bool (true ),
5959 VaultJWTAuthEnabled : Bool (false ),
6060 VaultOrgIdAsSecretOwnerEnabled : Bool (false ),
61+ VaultForceEmptyOCRRounds : Bool (false ),
6162 GatewayHTTPGlobalRate : Rate (rate .Limit (500 ), 500 ),
6263 GatewayHTTPPerNodeRate : Rate (rate .Limit (100 ), 100 ),
6364 TriggerRegistrationStatusUpdateTimeout : Duration (0 * time .Second ),
@@ -232,6 +233,7 @@ type Schema struct {
232233 GatewayVaultManagementEnabled Setting [bool ]
233234 VaultJWTAuthEnabled Setting [bool ]
234235 VaultOrgIdAsSecretOwnerEnabled Setting [bool ]
236+ VaultForceEmptyOCRRounds Setting [bool ]
235237 GatewayHTTPGlobalRate Setting [config.Rate ]
236238 GatewayHTTPPerNodeRate Setting [config.Rate ]
237239 TriggerRegistrationStatusUpdateTimeout Setting [time.Duration ]
Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ func TestSchema_Unmarshal(t *testing.T) {
124124 assert .Equal (t , true , cfg .GatewayVaultManagementEnabled .DefaultValue )
125125 assert .Equal (t , false , cfg .VaultJWTAuthEnabled .DefaultValue )
126126 assert .Equal (t , false , cfg .VaultOrgIdAsSecretOwnerEnabled .DefaultValue )
127+ assert .Equal (t , false , cfg .VaultForceEmptyOCRRounds .DefaultValue )
127128 assert .Equal (t , 48 * time .Hour , cfg .PerOrg .ZeroBalancePruningTimeout .DefaultValue )
128129 assert .Equal (t , 99 , cfg .PerOwner .WorkflowExecutionConcurrencyLimit .DefaultValue )
129130 assert .Equal (t , 250 * config .MByte , cfg .PerWorkflow .WASMMemoryLimit .DefaultValue )
You can’t perform that action at this time.
0 commit comments