some more threading stuff for backends.
This commit is contained in:
parent
1c08909c94
commit
a0577c66ff
3 changed files with 11 additions and 8 deletions
|
|
@ -124,17 +124,19 @@ def main():
|
|||
job.set_logger(log)
|
||||
jobs.append(job)
|
||||
|
||||
#x = JsonrpcBackend()
|
||||
interface = LinspectorInterface(jobs, scheduler, linConf)
|
||||
|
||||
#x = JsonrpcBackend(interface)
|
||||
#x.daemon = True
|
||||
#x.start()
|
||||
#TODO: Load Backend Threads here before initializing the frontend.
|
||||
#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.
|
||||
'''
|
||||
interface = LinspectorInterface(jobs, scheduler, linConf)
|
||||
|
||||
LishFrontend(interface)
|
||||
|
||||
log.debug("shutting down scheduler")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue