From 7bf419d334f59e25ddd9d5fb8009bbe8499a1e6c Mon Sep 17 00:00:00 2001 From: Albert Lombarte Date: Fri, 10 Jan 2025 13:10:01 +0100 Subject: [PATCH] Add idle_conn_disconnect_time --- test/v2.8/all.json | 1 + v2.7/backend/grpc.json | 7 +++++++ v2.8/backend/grpc.json | 7 +++++++ v2.8/krakend.json | 7 +++++++ 4 files changed, 22 insertions(+) diff --git a/test/v2.8/all.json b/test/v2.8/all.json index 671cb37..18beb55 100644 --- a/test/v2.8/all.json +++ b/test/v2.8/all.json @@ -261,6 +261,7 @@ }, "backend/grpc": { "use_request_body": false, + "idle_conn_disconnect_time": "10m", "use_alternate_host_on_error": true, "client_tls": { "@comment": "Allow untrusted certificates in development stage", diff --git a/v2.7/backend/grpc.json b/v2.7/backend/grpc.json index 1007fb8..6c52d6d 100644 --- a/v2.7/backend/grpc.json +++ b/v2.7/backend/grpc.json @@ -32,6 +32,13 @@ }, "additionalProperties": false }, + "idle_conn_disconnect_time": { + "title": "Request naming convention", + "description": "The maximum time a connection is kept without being used.\n\nSee: https://www.krakend.io/docs/enterprise/backends/grpc/", + "default": "10m", + "$ref": "../timeunits.json#/$defs/timeunit", + "type": "string" + }, "input_mapping": { "title": "Mapping of parameters", "description": "A dictionary that converts query string parameters and parameters from `{placeholders}` into a different field during the backend request. When passing parameters using `{placeholder}` the parameter capitalizes the first letter, so you receive `Placeholder`.\n\nSee: https://www.krakend.io/docs/enterprise/backends/grpc/", diff --git a/v2.8/backend/grpc.json b/v2.8/backend/grpc.json index 30abc41..1d4eff9 100644 --- a/v2.8/backend/grpc.json +++ b/v2.8/backend/grpc.json @@ -32,6 +32,13 @@ }, "additionalProperties": false }, + "idle_conn_disconnect_time": { + "title": "Request naming convention", + "description": "The maximum time a connection is kept without being used.\n\nSee: https://www.krakend.io/docs/enterprise/backends/grpc/", + "default": "10m", + "$ref": "../timeunits.json#/$defs/timeunit", + "type": "string" + }, "input_mapping": { "title": "Mapping of parameters", "description": "A dictionary that converts query string parameters and parameters from `{placeholders}` into a different field during the backend request. When passing parameters using `{placeholder}` the parameter capitalizes the first letter, so you receive `Placeholder`.\n\nSee: https://www.krakend.io/docs/enterprise/backends/grpc/", diff --git a/v2.8/krakend.json b/v2.8/krakend.json index 0471171..338cf75 100644 --- a/v2.8/krakend.json +++ b/v2.8/krakend.json @@ -1864,6 +1864,13 @@ }, "additionalProperties": false }, + "idle_conn_disconnect_time": { + "title": "Request naming convention", + "description": "The maximum time a connection is kept without being used.\n\nSee: https://www.krakend.io/docs/enterprise/backends/grpc/", + "default": "10m", + "$ref": "#/definitions/https%3A~1~1www.krakend.io~1schema~1v2.8~1timeunits.json/$defs/timeunit", + "type": "string" + }, "input_mapping": { "title": "Mapping of parameters", "description": "A dictionary that converts query string parameters and parameters from `{placeholders}` into a different field during the backend request. When passing parameters using `{placeholder}` the parameter capitalizes the first letter, so you receive `Placeholder`.\n\nSee: https://www.krakend.io/docs/enterprise/backends/grpc/",