summaryrefslogtreecommitdiff
path: root/tests/plugins/grpc/php_server/.rr.yaml
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-09-16 12:14:09 +0300
committerValery Piashchynski <[email protected]>2021-09-16 12:14:09 +0300
commitb24b4e066e32aa9be5617f409b3a01a358273cbb (patch)
treed2d57e577f344afe9a0d0b475ca25c1bfe51421c /tests/plugins/grpc/php_server/.rr.yaml
parent2aa0b99c588dd9c6a921904966ad435d485e23bb (diff)
Add test PHP-GRPC server
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/grpc/php_server/.rr.yaml')
-rw-r--r--tests/plugins/grpc/php_server/.rr.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/plugins/grpc/php_server/.rr.yaml b/tests/plugins/grpc/php_server/.rr.yaml
new file mode 100644
index 00000000..cc4a9300
--- /dev/null
+++ b/tests/plugins/grpc/php_server/.rr.yaml
@@ -0,0 +1,22 @@
+grpc:
+ listen: "tcp://:9001"
+ proto: "service.proto"
+ tls:
+ key: "server.key"
+ cert: "server.crt"
+ workers:
+ command: "php worker.php"
+ pool:
+ numWorkers: 4
+
+metrics:
+ address: localhost:2112
+
+limit:
+ interval: 1
+ services:
+ grpc:
+ maxMemory: 100
+ TTL: 0
+ idleTTL: 0
+ execTTL: 60 \ No newline at end of file