Skip to content

Commit

Permalink
chore: update schema
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <[email protected]>
  • Loading branch information
rustatian committed Feb 1, 2024
1 parent eb351fb commit f85c5b3
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 3 deletions.
36 changes: 36 additions & 0 deletions .rr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
6 changes: 6 additions & 0 deletions schemas/config/3.0.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit f85c5b3

Please sign in to comment.