elstat/config.example.py
Luna Mendes d92c09772e
add public api
- generalize elixire adapter into http adapter
 - fix ping adapter not sending a tuple
 - add ServiceWorker.process_work to insert results into the database
2018-07-09 02:48:44 -03:00

20 lines
417 B
Python

PORT = 8069
SERVICES = {
'elixire': {
'description': "elixi.re's backend",
'adapter': 'http',
'adapter_args': {
'url': 'https://elixi.re/api/hello'
},
'poll': 10
},
'dabian': {
'description': 'elixi.re main server',
'adapter': 'ping',
'adapter_args': {
'address': '192.168.1.1'
},
'poll': 15
}
}