summaryrefslogtreecommitdiff
path: root/tests/plugins/websockets/configs/.rr-websockets-redis-memory-local.yaml
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-06-14 17:36:44 +0300
committerGitHub <[email protected]>2021-06-14 17:36:44 +0300
commita38a4e65c16c61f792d8073c5da5f4b391690c07 (patch)
treeee860c0e959c34cd9092923acf503a2017b4713e /tests/plugins/websockets/configs/.rr-websockets-redis-memory-local.yaml
parentdc8ed203c247afd684f198ebbac103a10bfad72a (diff)
parent9748651763415c417eaa339920cba031d418fda6 (diff)
#723 fix(redis, ws): redis driver not available
#723 fix(redis, ws): redis driver not available
Diffstat (limited to 'tests/plugins/websockets/configs/.rr-websockets-redis-memory-local.yaml')
-rw-r--r--tests/plugins/websockets/configs/.rr-websockets-redis-memory-local.yaml38
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/plugins/websockets/configs/.rr-websockets-redis-memory-local.yaml b/tests/plugins/websockets/configs/.rr-websockets-redis-memory-local.yaml
new file mode 100644
index 00000000..27eab557
--- /dev/null
+++ b/tests/plugins/websockets/configs/.rr-websockets-redis-memory-local.yaml
@@ -0,0 +1,38 @@
+rpc:
+ listen: tcp://127.0.0.1:6001
+
+server:
+ command: "php ../../psr-worker-bench.php"
+ user: ""
+ group: ""
+ relay: "pipes"
+ relay_timeout: "20s"
+
+http:
+ address: 127.0.0.1:13235
+ 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
+
+
+websockets:
+ pubsubs: [ "redis", "memory" ]
+ redis:
+ addrs:
+ - "localhost:6379"
+
+ path: "/ws"
+
+logs:
+ mode: development
+ level: error
+
+endure:
+ grace_period: 120s
+ print_graph: false
+ log_level: error