set wait to False in scheduler shutdown; read TODO there.
This commit is contained in:
parent
a71fa07667
commit
43bfd810d2
1 changed files with 2 additions and 1 deletions
|
|
@ -133,7 +133,8 @@ def main():
|
||||||
LishFrontend(interface)
|
LishFrontend(interface)
|
||||||
|
|
||||||
log.debug("shutting down scheduler")
|
log.debug("shutting down scheduler")
|
||||||
scheduler.shutdown(wait=True)
|
#TODO: make "wait" configurable because when it is True a shutdown can take long time
|
||||||
|
scheduler.shutdown(wait=False)
|
||||||
logging.shutdown()
|
logging.shutdown()
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue