start jsonrpc backend if configured
This commit is contained in:
parent
8678f5e4a6
commit
8be754aa31
1 changed files with 4 additions and 10 deletions
|
|
@ -127,16 +127,10 @@ def main():
|
||||||
|
|
||||||
interface = LinspectorInterface(jobs, scheduler, linConf)
|
interface = LinspectorInterface(jobs, scheduler, linConf)
|
||||||
|
|
||||||
#x = JsonrpcBackend(interface)
|
if core["jsonrpc_backend"]:
|
||||||
#x.daemon = True
|
jsonrpc = JsonrpcBackend(interface)
|
||||||
#x.start()
|
jsonrpc.daemon = True
|
||||||
#TODO: load all backends in a loop
|
jsonrpc.start()
|
||||||
'''
|
|
||||||
for backend in backends.enabled
|
|
||||||
backend.start
|
|
||||||
|
|
||||||
take care of signals etc. to sthutdown the threads when stopping linspector.
|
|
||||||
'''
|
|
||||||
|
|
||||||
LishFrontend(interface)
|
LishFrontend(interface)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue