- generalize elixire adapter into http adapter - fix ping adapter not sending a tuple - add ServiceWorker.process_work to insert results into the database
20 lines
417 B
Python
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
|
|
}
|
|
}
|