Allow concurrency 0 to pause a terminal

A paused terminal gets no new runs and is not probed; in-flight runs still finish.
This commit is contained in:
jj.wang
2026-10-21 07:17:29 +00:00
parent b17b1f1587
commit 1ae44eb705
3 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -53,7 +53,7 @@
"repo": {"type": "string"},
"plane_user": {"type": "string"},
"token_key": {"type": "string"},
"concurrency": {"type": "integer", "minimum": 1},
"concurrency": {"type": "integer", "minimum": 0},
"capabilities": {"$ref": "#/definitions/strings"},
"executors": {"type": "array", "items": {"type": "string"}, "minItems": 1},
"bins": {"type": "object", "additionalProperties": {"type": "string"}},