mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 07:39:24 -05:00
AWS allows at most 50 concurrent executions per QUEUED or PARALLEL pipeline. StartPipelineExecution now counts the pipeline's InProgress and Stopping executions under a per-pipeline admission lock and returns ConcurrentPipelineExecutionsLimitExceededException at the limit. The admission lock is separate from the monitor a QUEUED worker holds for its whole run, so a start never waits for the running execution. A start that reaches the executor after shutdown is persisted as Failed and returns ConflictException instead of leaking RejectedExecutionException. Shutdown waits up to five seconds for execution workers to stop so their final status writes complete before the process exits.