Skip to content

Commit

Permalink
Add idle_conn_disconnect_time
Browse files Browse the repository at this point in the history
  • Loading branch information
alombarte committed Jan 10, 2025
1 parent 8ecfe49 commit 7bf419d
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/v2.8/all.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
7 changes: 7 additions & 0 deletions v2.7/backend/grpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/",
Expand Down
7 changes: 7 additions & 0 deletions v2.8/backend/grpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/",
Expand Down
7 changes: 7 additions & 0 deletions v2.8/krakend.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/",
Expand Down

0 comments on commit 7bf419d

Please sign in to comment.