diff options
author | Valery Piashchynski <[email protected]> | 2024-02-01 23:13:25 +0100 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2024-02-01 23:13:25 +0100 |
commit | f85c5b39a6d670d9189012948e6f49d3414f4ce3 (patch) | |
tree | 9b81c573d0cb1af1c851cf618c41ce48ddd2fa92 | |
parent | eb351fb93b80d2ae0d01c28a9ffa510f127eb004 (diff) |
chore: update schema
Signed-off-by: Valery Piashchynski <[email protected]>
-rw-r--r-- | .rr.yaml | 36 | ||||
-rw-r--r-- | CHANGELOG.md | 6 | ||||
-rw-r--r-- | schemas/config/3.0.schema.json | 6 |
3 files changed, 45 insertions, 3 deletions
@@ -308,6 +308,12 @@ temporal: # Default: 0 max_jobs: 0 + # [2023.3.10] + # Maximum size of the internal requests queue. After reaching the limit, all additional requests would be rejected with error. + # + # Default: 0 (no limit) + max_queue_size: 0 + # Timeout for worker allocation. Zero means 60s. # # Default: 60s @@ -872,6 +878,12 @@ http: # Default: 0 max_jobs: 0 + # [2023.3.10] + # Maximum size of the internal requests queue. After reaching the limit, all additional requests would be rejected with error. + # + # Default: 0 (no limit) + max_queue_size: 0 + # Timeout for worker allocation. Zero means 60s. # # Default: 60s @@ -1314,6 +1326,12 @@ jobs: # Default: 0 max_jobs: 0 + # [2023.3.10] + # Maximum size of the internal requests queue. After reaching the limit, all additional requests would be rejected with error. + # + # Default: 0 (no limit) + max_queue_size: 0 + # Timeout for worker allocation. Zero means 60s. # # Default: 60s @@ -1944,6 +1962,12 @@ grpc: # Default: 0 max_jobs: 0 + # [2023.3.10] + # Maximum size of the internal requests queue. After reaching the limit, all additional requests would be rejected with error. + # + # Default: 0 (no limit) + max_queue_size: 0 + # Timeout for worker allocation. Zero means 60s. # # Default: 60s @@ -2017,6 +2041,12 @@ tcp: # Default: 0 max_jobs: 0 + # [2023.3.10] + # Maximum size of the internal requests queue. After reaching the limit, all additional requests would be rejected with error. + # + # Default: 0 (no limit) + max_queue_size: 0 + # Timeout for worker allocation. Zero means 60s. # # Default: 60s @@ -2148,6 +2178,12 @@ centrifuge: # Default: 0 max_jobs: 0 + # [2023.3.10] + # Maximum size of the internal requests queue. After reaching the limit, all additional requests would be rejected with error. + # + # Default: 0 (no limit) + max_queue_size: 0 + # Timeout for worker allocation. Zero means 60s. # # Default: 60s diff --git a/CHANGELOG.md b/CHANGELOG.md index ce671f25..d3d37c5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,11 +2,11 @@ # <center> ๐ v2023.3.10 ๐ </center> -### Core `SDK` +### Core `SDK` bugfixes: -- ๐๏ธ Request queue gets too large, [BUG/FR](https://github.com/roadrunner-server/roadrunner/issues/1841), (thanks, @L3tum) +- ๐๏ธ Request queue gets too large, [BUG/FR](https://github.com/roadrunner-server/roadrunner/issues/1841), [Docs](https://docs.roadrunner.dev/php-worker/pool) (thanks, @L3tum) - ๐๏ธ Huge memory allocation in the debug mode [FIX](https://github.com/roadrunner-server/sdk/pull/110). -- ๐๏ธ Stop handler (`worker->stop()`) was returned back (fixed breaking change) [FIX](https://github.com/roadrunner-server/sdk/pull/109), (thanks @Zylius) +- ๐๏ธ Stop handler (`worker->stop()`) was returned (breaking change fix) [FIX](https://github.com/roadrunner-server/sdk/pull/109), (thanks @Zylius) ### <center>๐งน Chore:</center> diff --git a/schemas/config/3.0.schema.json b/schemas/config/3.0.schema.json index bb633e27..34b19f57 100644 --- a/schemas/config/3.0.schema.json +++ b/schemas/config/3.0.schema.json @@ -2274,6 +2274,12 @@ "minimum": 0, "default": 0 }, + "max_queue_size": { + "description": "[2023.3.10]. Maximum size of the internal requests queue. After reaching the limit, all additional requests would be rejected with error.", + "type": "integer", + "minimum": 0, + "default": 0 + }, "allocate_timeout": { "description": "Timeout for worker allocation. Zero means the default limit - 60s", "$ref": "#/definitions/Duration", |