We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c87585c commit 48e7295Copy full SHA for 48e7295
src/flavors/circuitbreaker.js
@@ -15,6 +15,9 @@ const toUpdateRequest = (opt) => faulty((uow) => ({
15
UUID: process.env.ESM_ID, // Ref: TriggerEventSourceMappingDynamodbEntitiesTable
16
Enabled: uow.event.alarmData.state.value !== 'ALARM',
17
BatchSize: uow.event.alarmData.state.value === 'INSUFFICIENT_DATA'
18
- ? 1 : Number(opt.circuitBreakerMaxBatchSize) || Number(process.env.CIRCUIT_BREAKER_MAX_BATCH_SIZE) || 100,
+ ? 1 : Number(opt.circuitBreakerMaxBatchSize)
19
+ || Number(process.env.CIRCUIT_BREAKER_MAX_BATCH_SIZE)
20
+ || Number(process.env.BATCH_SIZE)
21
+ || 100,
22
},
23
}));
0 commit comments