summaryrefslogtreecommitdiff
path: root/tests/plugins/kv/memory/configs/.rr-init.yaml
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-07 15:53:11 +0300
committerGitHub <[email protected]>2021-01-07 15:53:11 +0300
commitac71c41bec81fcb457e2ad18f4cbaa3f4b99d6c4 (patch)
tree5d42ca5aecf65609ebaabc517c1368d43dbce179 /tests/plugins/kv/memory/configs/.rr-init.yaml
parent984953a9db1d94817bda2e3d9266583151b1b437 (diff)
parent74405558a4a5bafefd081553f70d85943e9a3a37 (diff)
Merge pull request #468 from spiral/plugin/kv
Plugin/kv
Diffstat (limited to 'tests/plugins/kv/memory/configs/.rr-init.yaml')
-rw-r--r--tests/plugins/kv/memory/configs/.rr-init.yaml45
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/plugins/kv/memory/configs/.rr-init.yaml b/tests/plugins/kv/memory/configs/.rr-init.yaml
new file mode 100644
index 00000000..dedc6cd2
--- /dev/null
+++ b/tests/plugins/kv/memory/configs/.rr-init.yaml
@@ -0,0 +1,45 @@
+rpc:
+ listen: tcp://127.0.0.1:6001
+ disabled: false
+
+server:
+ command: "php ../../../psr-worker-bench.php"
+ user: ""
+ group: ""
+ env:
+ "RR_HTTP": "true"
+ relay: "pipes"
+ relayTimeout: "20s"
+
+logs:
+ mode: development
+ level: debug
+
+http:
+ address: 127.0.0.1:44933
+ maxRequestSize: 1024
+ middleware: ["gzip", "headers"]
+ uploads:
+ forbid: [".php", ".exe", ".bat"]
+ trustedSubnets:
+ [
+ "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:
+ numWorkers: 6
+ maxJobs: 0
+ allocateTimeout: 60s
+ destroyTimeout: 60s
+
+# in memory KV driver
+memory:
+ enabled:
+ true
+ # keys ttl check interval
+ interval: 1