From e07dc078c052fb1dd96da40e675b4d95dc678027 Mon Sep 17 00:00:00 2001 From: technillogue Date: Fri, 24 May 2024 20:03:52 -0400 Subject: [PATCH] fix config schema --- pkg/config/data/config_schema_v1.0.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkg/config/data/config_schema_v1.0.json b/pkg/config/data/config_schema_v1.0.json index 715d7b6f5..5bdbda412 100644 --- a/pkg/config/data/config_schema_v1.0.json +++ b/pkg/config/data/config_schema_v1.0.json @@ -143,8 +143,16 @@ }, "concurrency": { "$id": "#/properties/concurrency", - "type": "number", - "description": "Allowed concurrency." + "type": "object", + "description": "This stanza configures concurrency limits", + "properties": { + "max": { + "$id": "#/properties/concurrency/properties/max", + "type": "number", + "description": "Maximum allowed concurrency. Setting this value enables concurrent predictions." + } + }, + "additionalProperties": true } }, "additionalProperties": false