feat: add limit for the number of running procedures (#5793)

* refactor: remove unused `messages`

* feat: introduce running procedure num limit

* feat: update config

* chore: apply suggestions from CR

* feat: impl `status_code` for `log-store` crate
This commit is contained in:
Weny Xu
2025-03-31 14:14:21 +08:00
committed by GitHub
parent 5d688c6565
commit d3a60d8821
14 changed files with 196 additions and 50 deletions

View File

@@ -302,6 +302,10 @@ purge_interval = "1m"
max_retry_times = 3
## Initial retry delay of procedures, increases exponentially
retry_delay = "500ms"
## Max running procedures.
## The maximum number of procedures that can be running at the same time.
## If the number of running procedures exceeds this limit, the procedure will be rejected.
max_running_procedures = 128
## flow engine options.
[flow]