just some comments for making job generated in a thread
This commit is contained in:
parent
9824afb8a5
commit
4611333354
1 changed files with 7 additions and 0 deletions
|
|
@ -109,6 +109,9 @@ def main():
|
||||||
|
|
||||||
scheduler = Scheduler()
|
scheduler = Scheduler()
|
||||||
|
|
||||||
|
'''
|
||||||
|
The next lines should go over to a thread class into background (thread queue)
|
||||||
|
'''
|
||||||
scheduler.start()
|
scheduler.start()
|
||||||
jobs = []
|
jobs = []
|
||||||
|
|
||||||
|
|
@ -127,6 +130,10 @@ def main():
|
||||||
job.set_logger(log)
|
job.set_logger(log)
|
||||||
jobs.append(job)
|
jobs.append(job)
|
||||||
|
|
||||||
|
'''
|
||||||
|
the next stuff could stay here but needs access to the "jobs" list from above
|
||||||
|
'''
|
||||||
|
|
||||||
interface = LinspectorInterface(jobs, scheduler, linConf)
|
interface = LinspectorInterface(jobs, scheduler, linConf)
|
||||||
|
|
||||||
if "jsonrpc_backend" in core and core["jsonrpc_backend"]:
|
if "jsonrpc_backend" in core and core["jsonrpc_backend"]:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue