← 一覧へ

Set a concurrency limit for each Workflow

changelog / Compute / Workflows, Workers / 2026/11/10 09:00 JST

要約

Workflowごとに同時実行数の上限を設定可能に。データベースや外部APIの同時接続上限を守ったり、大量実行のWorkflowがアカウント全体の並行枠を占有するのを防いだりできる。

You can now set a concurrency limit on an individual Workflow to cap how many of its instances run at the same time. Use it to protect a database or third-party API that slows down or rejects requests past a certain number of concurrent connections, or to distribute load more evenly across your Workflows so that one high-volume Workflow does not use all of your account’s concurrency. For example, to allow only 10 instances of a Workflow to run at a time, set concurrency.limit on its workflows binding and redeploy: { “workflows” : [ { “name” : “my-workflow” , “binding” : “MY_WORKFLOW” , “class_

出典: 公式ページ