just some comments for making job generated in a thread

This commit is contained in:
Johannes Findeisen 2013-10-23 21:52:31 +02:00
commit 4611333354

View file

@ -109,6 +109,9 @@ def main():
scheduler = Scheduler()
'''
The next lines should go over to a thread class into background (thread queue)
'''
scheduler.start()
jobs = []
@ -127,6 +130,10 @@ def main():
job.set_logger(log)
jobs.append(job)
'''
the next stuff could stay here but needs access to the "jobs" list from above
'''
interface = LinspectorInterface(jobs, scheduler, linConf)
if "jsonrpc_backend" in core and core["jsonrpc_backend"]: