# trigger-sme-analytics-ingestion-flow-control

The script is used by this Jenkins job to trigger the sme-analytics_flow_control Lambda:
https://scheduler.theorchard.io/job/trigger_sme_analytics_ingest_flow_control/

The job config defines the environment variables:
MAX_STATE_MACHINES: The limit of sfn executions that can run at the same time
SFN_START_DELAY: The time delay in milliseconds between starting each batch
                 This is done to avoid a spike in resource utilization
SFN_BATCH_SIZE: The number of state machine executions to start each batch
