summaryrefslogtreecommitdiff
path: root/tests/plugins/jobs/memory/.rr-memory-pause-resume.yaml
blob: 1ad48237d8041f2e7d2771280d2fd75b40ff9092 (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 ../../jobs_ok.php"
  relay: "pipes"
  relay_timeout: "20s"

logs:
  level: debug
  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-local:
      driver: memory
      priority: 10
      pipeline_size: 10000

    test-local-2:
      driver: memory
      priority: 1
      pipeline_size: 10000

    test-local-3:
      driver: memory
      priority: 2
      pipeline_size: 10000

  # list of pipelines to be consumed by the server, keep empty if you want to start consuming manually
  consume: [ "test-local", "test-local-2" ]