summaryrefslogtreecommitdiff
path: root/tests/plugins/jobs/memory/.rr-memory-init.yaml
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-09-01 13:19:09 +0300
committerValery Piashchynski <[email protected]>2021-09-01 13:19:09 +0300
commit9c8da162b3347b632f33f85d56e8c1ff7014631a (patch)
treebb614a186e05adf816b3f2b62e2d25bfa821a574 /tests/plugins/jobs/memory/.rr-memory-init.yaml
parent0437d1f58514f694ea86e8176e621c009cd510f9 (diff)
Code polishing before release
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/jobs/memory/.rr-memory-init.yaml')
-rw-r--r--tests/plugins/jobs/memory/.rr-memory-init.yaml37
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/plugins/jobs/memory/.rr-memory-init.yaml b/tests/plugins/jobs/memory/.rr-memory-init.yaml
new file mode 100644
index 00000000..9ee8afc2
--- /dev/null
+++ b/tests/plugins/jobs/memory/.rr-memory-init.yaml
@@ -0,0 +1,37 @@
+rpc:
+ listen: tcp://127.0.0.1:6001
+
+server:
+ command: "php ../../jobs_ok.php"
+ relay: "pipes"
+ relay_timeout: "20s"
+
+logs:
+ level: debug
+ encoding: console
+ mode: development
+
+jobs:
+ num_pollers: 10
+ pipeline_size: 100000
+ pool:
+ num_workers: 10
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
+
+ pipelines:
+ test-1:
+ driver: memory
+ priority: 10
+ prefetch: 10000
+
+ test-2:
+ driver: memory
+ priority: 10
+ prefetch: 10000
+
+
+ # list of pipelines to be consumed by the server, keep empty if you want to start consuming manually
+ consume: [ "test-1", "test-2" ]
+