@@ -52,8 +52,8 @@ var DefaultGetter Getter
5252var Config Schema
5353
5454var Default = Schema {
55- WorkflowLimit : Int (200 ),
56- WorkflowExecutionConcurrencyLimit : Int (200 ),
55+ WorkflowLimit : Int (1000 ),
56+ WorkflowExecutionConcurrencyLimit : Int (1000 ),
5757 GatewayIncomingPayloadSizeLimit : Size (1 * config .MByte ),
5858 GatewayVaultManagementEnabled : Bool (true ),
5959 VaultJWTAuthEnabled : Bool (false ),
@@ -118,9 +118,11 @@ var Default = Schema{
118118 VaultMaxPerOracleUnexpiredBlobCount : Int (1000 ),
119119
120120 PerOrg : Orgs {
121- ZeroBalancePruningTimeout : Duration (24 * time .Hour ),
121+ WorkflowExecutionConcurrencyLimit : Int (100 ),
122+ ZeroBalancePruningTimeout : Duration (24 * time .Hour ),
122123 },
123124 PerOwner : Owners {
125+ WorkflowLimit : Int (1000 ),
124126 WorkflowExecutionConcurrencyLimit : Int (5 ),
125127
126128 // DANGER(cedric): Be extremely careful changing this vault limit as it acts as a default value
@@ -227,7 +229,7 @@ var Default = Schema{
227229}
228230
229231type Schema struct {
230- WorkflowLimit Setting [int ] `unit:"{workflow}"` // Deprecated
232+ WorkflowLimit Setting [int ] `unit:"{workflow}"`
231233 WorkflowExecutionConcurrencyLimit Setting [int ] `unit:"{workflow}"`
232234 GatewayIncomingPayloadSizeLimit Setting [config.Size ]
233235 GatewayVaultManagementEnabled Setting [bool ]
@@ -265,10 +267,12 @@ type Schema struct {
265267 PerWorkflow Workflows `scope:"workflow"`
266268}
267269type Orgs struct {
268- ZeroBalancePruningTimeout Setting [time.Duration ]
270+ WorkflowExecutionConcurrencyLimit Setting [int ] `unit:"{workflow}"`
271+ ZeroBalancePruningTimeout Setting [time.Duration ]
269272}
270273
271274type Owners struct {
275+ WorkflowLimit Setting [int ] `unit:"{workflow}"`
272276 WorkflowExecutionConcurrencyLimit Setting [int ] `unit:"{workflow}"`
273277 VaultSecretsLimit Setting [int ] `unit:"{secret}"`
274278}
0 commit comments