summaryrefslogtreecommitdiff
path: root/tests/plugins/websockets/configs
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-05-27 19:59:04 +0300
committerValery Piashchynski <[email protected]>2021-05-27 19:59:04 +0300
commite701d4d97fbbc7551e5d931731890933687ca8cd (patch)
tree8161a022a5b74ce6660ed154344134ec493c3f74 /tests/plugins/websockets/configs
parent1ee9f178f95c777d60afae4ac3a74e6134001e27 (diff)
- Update Makefile
- Update arch diagram Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/websockets/configs')
-rw-r--r--tests/plugins/websockets/configs/.rr-websockets-init.yaml16
1 files changed, 3 insertions, 13 deletions
diff --git a/tests/plugins/websockets/configs/.rr-websockets-init.yaml b/tests/plugins/websockets/configs/.rr-websockets-init.yaml
index 9973b2dc..1b60d3e7 100644
--- a/tests/plugins/websockets/configs/.rr-websockets-init.yaml
+++ b/tests/plugins/websockets/configs/.rr-websockets-init.yaml
@@ -1,7 +1,6 @@
rpc:
listen: tcp://127.0.0.1:6001
-
server:
command: "php ../../psr-worker-bench.php"
user: ""
@@ -10,11 +9,9 @@ server:
relay_timeout: "20s"
http:
- address: 127.0.0.1:15395
+ address: 127.0.0.1:11111
max_request_size: 1024
- middleware: ["websockets"]
- uploads:
- forbid: [ ".php", ".exe", ".bat" ]
+ 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
@@ -30,16 +27,9 @@ websockets:
# pubsubs should implement PubSub interface to be collected via endure.Collects
# also, they should implement RPC methods to publish data into them
# pubsubs might use general config section or its own
-
pubsubs: [ "redis" ]
-
- # sample of the own config section for the redis pubsub driver
-
- redis:
- addrs:
- - localhost:1111
- # path used as websockets path
path: "/ws"
+
logs:
mode: development
level: debug