summaryrefslogtreecommitdiff
path: root/tests/plugins/broadcast/configs/.rr-broadcast-same-section.yaml
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-09-13 15:40:57 +0300
committerGitHub <[email protected]>2021-09-13 15:40:57 +0300
commit5d2cd55ab522d4f1e65a833f91146444465a32ac (patch)
treea374c8e90383d5e868ffe6b44555a55029c54f79 /tests/plugins/broadcast/configs/.rr-broadcast-same-section.yaml
parentfe72d84395970281fe330a2b9423f8c0e4c3b9c8 (diff)
parentb8a4b82f82e2cb9f9efc4a3601a97b4ff07fefc7 (diff)
[#793]: fix(plugins): incorrect parsing local and global drivers sections
[#793]: fix(plugins): incorrect parsing local and global drivers sections
Diffstat (limited to 'tests/plugins/broadcast/configs/.rr-broadcast-same-section.yaml')
-rw-r--r--tests/plugins/broadcast/configs/.rr-broadcast-same-section.yaml68
1 files changed, 40 insertions, 28 deletions
diff --git a/tests/plugins/broadcast/configs/.rr-broadcast-same-section.yaml b/tests/plugins/broadcast/configs/.rr-broadcast-same-section.yaml
index 2337b8fe..85a767cb 100644
--- a/tests/plugins/broadcast/configs/.rr-broadcast-same-section.yaml
+++ b/tests/plugins/broadcast/configs/.rr-broadcast-same-section.yaml
@@ -1,36 +1,48 @@
rpc:
- listen: tcp://127.0.0.1:6002
+ listen: tcp://127.0.0.1:6002
server:
- command: "php ../../psr-worker-bench.php"
- relay: "pipes"
- relay_timeout: "20s"
+ command: "php ../../psr-worker-bench.php"
+ relay: "pipes"
+ relay_timeout: "20s"
http:
- address: 127.0.0.1:21345
- max_request_size: 1024
- middleware: [ "websockets" ]
- trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
- pool:
- num_workers: 2
- max_jobs: 0
- allocate_timeout: 60s
- destroy_timeout: 60s
+ address: 127.0.0.1:21345
+ max_request_size: 1024
+ middleware: ["websockets"]
+ trusted_subnets:
+ [
+ "10.0.0.0/8",
+ "127.0.0.0/8",
+ "172.16.0.0/12",
+ "192.168.0.0/16",
+ "::1/128",
+ "fc00::/7",
+ "fe80::/10",
+ ]
+ pool:
+ num_workers: 2
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
broadcast:
- test:
- driver: redis
- addrs:
- - "127.0.0.1:6379"
- test2:
- driver: redis
- addrs:
- - "127.0.0.1:6378"
- test3:
- driver: memory
- test4:
- driver: memory
-
+ test:
+ driver: redis
+ config:
+ addrs:
+ - "127.0.0.1:6379"
+ test2:
+ driver: redis
+ config:
+ addrs:
+ - "127.0.0.1:6378"
+ test3:
+ driver: memory
+ config: {}
+ test4:
+ driver: memory
+ config: {}
logs:
- mode: development
- level: info
+ mode: development
+ level: info