-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.yaml
54 lines (54 loc) · 1.01 KB
/
config.yaml
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
45
46
47
48
49
50
51
52
53
54
server:
protocol: http
http:
port: 8080
grpc:
port: 50051
job_queue:
option: rabbitmq
memory_job_queue:
capacity: 100
rabbitmq:
queue_params:
name: job
durable: false
deleted_when_unused: false
exclusive: false
no_wait: false
consume_params:
name: rabbitmq-consumer
auto_ack: true
exclusive: false
no_local: false
no_wait: false
publish_params:
exchange:
routing_key: job
mandatory: false
immediate: false
redis:
key_prefix: valet
min_idle_conns: 10
pool_size: 10
worker_pool:
workers:
queue_capacity:
scheduler:
storage_polling_interval: 60
job_queue_polling_interval: 5
storage:
option: redis
mysql:
connection_max_lifetime:
max_idle_connections:
max_open_connections:
postgres:
connection_max_lifetime:
max_idle_connections:
max_open_connections:
redis:
key_prefix: valet
min_idle_conns: 10
pool_size: 10
timeout_unit: second
logging_format: text