Skip to content

Commit

Permalink
[#1358]: pre-release: v2.12.0-rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rustatian authored Nov 12, 2022
2 parents d7eb7d5 + 2df6445 commit f1a9fca
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 2 deletions.
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
# CHANGELOG

## v2.12.0-rc.1 (12.11.2022)

## 👀 New:

-**All plugins**: update to `v3`. This is done not because of some breaking change but because of the internal update.
-**RPC plugin**: add new API to provide a running RR version and RR configuration in JSON format.
-**AMQP plugin**: new configuration options. [FR](https://github.com/roadrunner-server/roadrunner/issues/1351), (thanks @andrey-tech)
```yaml
jobs:
pipelines:
example:
driver: amqp
config:
# Durable exchange
#
# Default: true
exchange_durable: true

# Auto-deleted exchange
#
# Default: false
exchange_auto_deleted: false

# Auto-deleted queue
#
# Default: false
queue_auto_deleted: false
```
- ✏ **Workers pool (SDK)**: New option to control the `reset_timeout`. Note that the `pool.Reset` is protected by mutexes, meaning that if you have some requests already in the pool, you'll have to wait for these requests to be processed. The `reset_timeout` does not count this time.

```yaml
pool:
allocate_timeout: 10s
reset_timeout: 10s
destroy_timeout: 10s
```

---

## v2.12.0-beta.1 (03.11.2022)

# ⚠️ `websocket` and `broadcast` plugins was replaced by the new `centrifuge` plugin.
Expand Down
1 change: 1 addition & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@ github.com/gorilla/sessions v1.2.1/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/z
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 h1:+9834+KizmvFV7pXQGSXQTsaWhq2GjuNUt0aUU0YBYw=
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y=
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk=
github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo=
github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.13.0 h1:fi9bGIUJOGzzrHBbP8NWbTfNC5fKO6X7kFw40TOqGB8=
Expand Down
24 changes: 22 additions & 2 deletions schemas/config/2.0.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1436,6 +1436,21 @@
"type": "string",
"default": "amqp.default"
},
"exchange_durable": {
"description": "Durable exchange",
"type": "boolean",
"default": false
},
"exchange_auto_deleted": {
"description": "Auto delete exchange",
"type": "boolean",
"default": false
},
"queue_auto_deleted": {
"description": "Queue auto delete",
"type": "boolean",
"default": false
},
"exchange_type": {
"description": "Exchange type",
"type": "string",
Expand Down Expand Up @@ -2135,12 +2150,17 @@
"default": 0
},
"allocate_timeout": {
"description": "Timeout for worker allocation. Zero means no limit",
"description": "Timeout for worker allocation. Zero means the default limit - 60s",
"$ref": "#/definitions/Duration",
"default": "60s"
},
"reset_timeout": {
"description": "Timeout for the pool.Reset operation (./rr reset). Zero means the default limit - 60s",
"$ref": "#/definitions/Duration",
"default": "60s"
},
"destroy_timeout": {
"description": "Timeout for worker destroying before process killing. Zero means no limit",
"description": "Timeout for worker destroying before process killing. Zero means the default limit - 60s",
"$ref": "#/definitions/Duration",
"default": "60s"
},
Expand Down

0 comments on commit f1a9fca

Please sign in to comment.