summaryrefslogtreecommitdiff
path: root/tests/plugins/jobs/boltdb/.rr-no-global.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/jobs/boltdb/.rr-no-global.yaml')
-rw-r--r--tests/plugins/jobs/boltdb/.rr-no-global.yaml41
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/plugins/jobs/boltdb/.rr-no-global.yaml b/tests/plugins/jobs/boltdb/.rr-no-global.yaml
new file mode 100644
index 00000000..54aaf3c6
--- /dev/null
+++ b/tests/plugins/jobs/boltdb/.rr-no-global.yaml
@@ -0,0 +1,41 @@
+rpc:
+ listen: tcp://127.0.0.1:6001
+
+server:
+ command: "php ../../client.php echo pipes"
+ relay: "pipes"
+ relay_timeout: "20s"
+
+logs:
+ level: error
+ mode: development
+
+jobs:
+ # num logical cores by default
+ num_pollers: 10
+ # 1mi by default
+ pipeline_size: 100000
+ # worker pool configuration
+ pool:
+ num_workers: 10
+ max_jobs: 0
+ allocate_timeout: 60s
+ destroy_timeout: 60s
+
+ # list of broker pipelines associated with endpoints
+ pipelines:
+ test-1:
+ driver: boltdb
+ prefetch: 100
+ file: "rr1.db"
+ priority: 1
+
+ test-2:
+ driver: boltdb
+ prefetch: 100
+ file: "rr2.db"
+ priority: 1
+
+ # list of pipelines to be consumed by the server, keep empty if you want to start consuming manually
+ consume: [ "test-1", "test-2" ]
+