summaryrefslogtreecommitdiff
path: root/tests/plugins/jobs/durability/.rr-beanstalk-durability-redial.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/jobs/durability/.rr-beanstalk-durability-redial.yaml')
-rw-r--r--tests/plugins/jobs/durability/.rr-beanstalk-durability-redial.yaml44
1 files changed, 44 insertions, 0 deletions
diff --git a/tests/plugins/jobs/durability/.rr-beanstalk-durability-redial.yaml b/tests/plugins/jobs/durability/.rr-beanstalk-durability-redial.yaml
new file mode 100644
index 00000000..57d8ad2d
--- /dev/null
+++ b/tests/plugins/jobs/durability/.rr-beanstalk-durability-redial.yaml
@@ -0,0 +1,44 @@
+rpc:
+ listen: tcp://127.0.0.1:6001
+
+server:
+ command: "php ../../client.php echo pipes"
+ relay: "pipes"
+ relay_timeout: "20s"
+
+beanstalk:
+ addr: tcp://127.0.0.1:11400
+ timeout: 10s
+
+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: beanstalk
+ priority: 11
+ tube_priority: 1
+ tube: default-1
+ reserve_timeout: 10s
+
+ test-2:
+ driver: beanstalk
+ priority: 11
+ tube_priority: 3
+ tube: default-2
+ reserve_timeout: 10s
+
+ # list of pipelines to be consumed by the server, keep empty if you want to start consuming manually
+ consume: [ "test-1", "test-2" ]
+