-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.json
37 lines (36 loc) · 1.03 KB
/
config.example.json
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
{
'amqpCommonSettings': {
'hostname': 'setMe',
'port': 5672,
'username': 'setMe',
'password': 'setMe',
'vhost': 'setMe',
'automaticRecoveryEnabled': true,
'connectionTimeout': 30000,
'requestedHeartbeat': 10
},
'processes': [
{
'name': 'CallMeMaybe',
'concurrentConsumers': 2,
'logStdErr': true,
'execution': {
'workDir': '/path/to/work/dir/',
'executable': './some-executable-relative-to-workdir',
'args': [],
'env': {
'PYTHONPATH': '/where/ever:%%%ORIGINAL_VALUE%%%'
},
'watchdogTimeout': 5,
'watchdogCheckInterval': 200,
'allowWritableExecutable': true
},
'amqp': {
'exchange': 'router',
'exchangeType': 'direct',
'routingKey': null,
'queue': 'msgs'
}
}
]
}