summaryrefslogtreecommitdiff
path: root/tests/plugins/jobs/durability/.rr-beanstalk-durability-redial.yaml
blob: 57d8ad2d0a68baf2e5c77f35b1cf1ed93a694bb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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" ]