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)
|
||||
|
||||
#x = JsonrpcBackend(interface)
|
||||
#x.daemon = True
|
||||
#x.start()
|
||||
#TODO: load all backends in a loop
|
||||
'''
|
||||
for backend in backends.enabled
|
||||
backend.start
|
||||
|
||||
take care of signals etc. to sthutdown the threads when stopping linspector.
|
||||
'''
|
||||
if core["jsonrpc_backend"]:
|
||||
jsonrpc = JsonrpcBackend(interface)
|
||||
jsonrpc.daemon = True
|
||||
jsonrpc.start()
|
||||
|
||||
LishFrontend(interface)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue